/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatterBuilder.java | 744 assertEquals(parsed.getLong(HOUR_OF_DAY), 12L); in test_adjacent_strict_firstFixedWidth() local 745 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 30L); in test_adjacent_strict_firstFixedWidth() local 756 assertEquals(parsed.getLong(HOUR_OF_DAY), 123L); in test_adjacent_strict_firstVariableWidth_success() local 757 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 9L); in test_adjacent_strict_firstVariableWidth_success() local 778 assertEquals(parsed.getLong(HOUR_OF_DAY), 12L); in test_adjacent_lenient() local 779 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 30L); in test_adjacent_lenient() local 790 assertEquals(parsed.getLong(HOUR_OF_DAY), 123L); in test_adjacent_lenient_firstVariableWidth_success() local 791 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 9L); in test_adjacent_lenient_firstVariableWidth_success() local 813 assertEquals(parsed.getLong(HOUR_OF_DAY), 12L); in test_adjacent_strict_fractionFollows() local 814 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 30L); in test_adjacent_strict_fractionFollows() local [all …]
|
D | TCKDateTimeParseResolver.java | 1177 assertEquals(acc.getLong(INSTANT_SECONDS), 86402L); in test_parse_fromField_InstantSeconds() local 1178 assertEquals(acc.getLong(NANO_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() local 1179 assertEquals(acc.getLong(MICRO_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() local 1180 assertEquals(acc.getLong(MILLI_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() local 1194 assertEquals(acc.getLong(INSTANT_SECONDS), 86402L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1195 assertEquals(acc.getLong(NANO_OF_SECOND), 123456789L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1196 assertEquals(acc.getLong(MICRO_OF_SECOND), 123456L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1197 assertEquals(acc.getLong(MILLI_OF_SECOND), 123L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1211 assertEquals(acc.getLong(SECOND_OF_DAY), 864L); in test_parse_fromField_SecondOfDay() local 1212 assertEquals(acc.getLong(NANO_OF_SECOND), 0L); in test_parse_fromField_SecondOfDay() local [all …]
|
D | TCKDateTimeFormatter.java | 457 assertEquals(result.getLong(DAY_OF_MONTH), 30L); in test_parse_CharSequence() local 469 assertEquals(result.getLong(YEAR), 2012L); in test_parse_CharSequence_resolved() local 470 assertEquals(result.getLong(MONTH_OF_YEAR), 6L); in test_parse_CharSequence_resolved() local 471 assertEquals(result.getLong(DAY_OF_MONTH), 30L); in test_parse_CharSequence_resolved() local 492 assertEquals(result.getLong(DAY_OF_MONTH), 30L); in test_parse_CharSequence_ParsePosition() local 507 assertEquals(result.getLong(YEAR), 2012L); in test_parse_CharSequence_ParsePosition_resolved() local 508 assertEquals(result.getLong(MONTH_OF_YEAR), 6L); in test_parse_CharSequence_ParsePosition_resolved() local 509 assertEquals(result.getLong(DAY_OF_MONTH), 30L); in test_parse_CharSequence_ParsePosition_resolved() local 699 assertEquals(result.getLong(DAY_OF_MONTH), 30L); in test_parseUnresolved_StringParsePosition() local 785 assertEquals(result.getLong(DAY_OF_MONTH), 30L); in test_toFormat_parseObject_String() local [all …]
|
D | TCKPadPrinterParser.java | 201 assertEquals(parsed.getLong(MONTH_OF_YEAR), 2L); // +2, not -2 in test_parse_decoratedStartsWithPad_number() local
|
D | TCKDateTimeFormatters.java | 1171 assertEquals(parsed.getLong(IsoFields.WEEK_BASED_YEAR), 123456L); in test_parse_weekDate_largeYear() local 1172 assertEquals(parsed.getLong(IsoFields.WEEK_OF_WEEK_BASED_YEAR), 4L); in test_parse_weekDate_largeYear() local 1173 assertEquals(parsed.getLong(DAY_OF_WEEK), 5L); in test_parse_weekDate_largeYear() local
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestTextParser.java | 111 .getLong(DAY_OF_WEEK), 1L); in test_parse_midStr() local 119 .getLong(DAY_OF_WEEK), 3L); in test_parse_remainderIgnored() local 326 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("January", pos).getLong(M… in test_parse_full_strict_full_match() local 348 …ormatter(MONTH_OF_YEAR, TextStyle.SHORT).parseUnresolved("January", pos).getLong(MONTH_OF_YEAR), 1… in test_parse_short_strict_full_match() local 355 …tFormatter(MONTH_OF_YEAR, TextStyle.SHORT).parseUnresolved("Janua", pos).getLong(MONTH_OF_YEAR), 1… in test_parse_short_strict_short_match() local 381 1L); in test_parse_french_short_strict_short_match() local 389 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("January.", pos).getLong(… in test_parse_full_lenient_full_match() local 396 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("Janua", pos).getLong(MON… in test_parse_full_lenient_short_match() local 403 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("1", pos).getLong(MONTH_O… in test_parse_full_lenient_number_match() local 411 …ormatter(MONTH_OF_YEAR, TextStyle.SHORT).parseUnresolved("January", pos).getLong(MONTH_OF_YEAR), 1… in test_parse_short_lenient_full_match() local [all …]
|
D | TestDateTimeFormatterBuilder.java | 229 assertEquals(parsed.getLong(MONTH_OF_YEAR), 1L); in test_appendValue_subsequent2_parse3() local 230 assertEquals(parsed.getLong(DAY_OF_MONTH), 23L); in test_appendValue_subsequent2_parse3() local 239 assertEquals(parsed.getLong(MONTH_OF_YEAR), 1L); in test_appendValue_subsequent2_parse4() local 240 assertEquals(parsed.getLong(DAY_OF_MONTH), 23L); in test_appendValue_subsequent2_parse4() local 249 assertEquals(parsed.getLong(MONTH_OF_YEAR), 1L); in test_appendValue_subsequent2_parse5() local 250 assertEquals(parsed.getLong(DAY_OF_MONTH), 23L); in test_appendValue_subsequent2_parse5() local 262 assertEquals(parsed.getLong(YEAR), 2009L); in test_appendValue_subsequent3_parse6() local 263 assertEquals(parsed.getLong(MONTH_OF_YEAR), 6L); in test_appendValue_subsequent3_parse6() local 264 assertEquals(parsed.getLong(DAY_OF_MONTH), 30L); in test_appendValue_subsequent3_parse6() local 279 assertEquals(parsed.getLong(YEAR), 2012L); in test_appendValueReduced() local [all …]
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | SummaryStatisticsTest.java | 70 assertEquals(stats.getMax(), 1000L); in testLongStatistics() local 71 assertEquals(stats.getMin(), 1L); in testLongStatistics() local
|
D | RangeTest.java | 119 assertEquals(s.estimateSize(), 1L << 32); in testIntRange() local
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | TestEnum1.java | 4 Z, F, L, A, B enumConstant
|
D | TestEnum1b.java | 4 Z, F, L, A, B enumConstant
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeValueRange.java | 107 assertEquals(test.getSmallestMaximum(), 123456789012345L); in test_of_longlong_big() local 108 assertEquals(test.getMaximum(), 123456789012345L); in test_of_longlong_big() local
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime_instants.java | 309 assertEquals(test.getEpochSecond(), 24L * 60L * 60L); in test_toInstant_19700102() local 338 assertEquals(dt.toEpochSecond(), 24L * 60L * 60L); in test_toEpochSecond_19700102() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKJapaneseChronology.java | 475 assertEquals(base.getLong(YEAR), 1988L); in test_getLong() local 476 assertEquals(base.getLong(YEAR_OF_ERA), 63L); in test_getLong() local 477 assertEquals(base.getLong(MONTH_OF_YEAR), 6L); in test_getLong() local 478 assertEquals(base.getLong(DAY_OF_MONTH), 30L); in test_getLong() local
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | AnnotatedElementBenchmark.java | 258 long g() default 0L; in g() field
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousSocketChannelTest.java | 679 asc.write((ByteBuffer[])null, 0, 1, 100L, TimeUnit.MILLISECONDS, null, in test_write_npe() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | EnumSetTest.java | 45 … m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S… enumConstant 53 … w{}, x{}, y{}, z{}, A{}, B{}, C{}, D{}, E{}, F{}, G{}, H{}, I{}, J{}, K{}, L{}, M{}, N{}, O{}, P{… enumConstant 57 … m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S… enumConstant
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ReflectionTest.java | 635 @interface L {} annotation in ReflectionTest.HasMemberClasses
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 112 assertEquals(Duration.ZERO.getSeconds(), 0L); in test_zero() local 2420 assertEquals(test.toNanos(), 321123456789L); in test_toNanos() local
|