/libcore/ojluni/src/test/java/lang/Math/ |
D | DoubleConsts.java | 74 Assert.assertEquals((SIGN_BIT_MASK & EXP_BIT_MASK), 0L); in testDoubleConstants() local 75 Assert.assertEquals((SIGN_BIT_MASK & SIGNIF_BIT_MASK), 0L); in testDoubleConstants() local 76 Assert.assertEquals((EXP_BIT_MASK & SIGNIF_BIT_MASK), 0L); in testDoubleConstants() local
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestTextParser.java | 112 .getLong(DAY_OF_WEEK), 1L); in test_parse_midStr() local 120 .getLong(DAY_OF_WEEK), 3L); in test_parse_remainderIgnored() local 288 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("January", pos).getLong(M… in test_parse_full_strict_full_match() local 310 …ormatter(MONTH_OF_YEAR, TextStyle.SHORT).parseUnresolved("January", pos).getLong(MONTH_OF_YEAR), 1… in test_parse_short_strict_full_match() local 317 …tFormatter(MONTH_OF_YEAR, TextStyle.SHORT).parseUnresolved("Janua", pos).getLong(MONTH_OF_YEAR), 1… in test_parse_short_strict_short_match() local 332 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("January.", pos).getLong(… in test_parse_full_lenient_full_match() local 339 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("Janua", pos).getLong(MON… in test_parse_full_lenient_short_match() local 346 …assertEquals(getFormatter(MONTH_OF_YEAR, TextStyle.FULL).parseUnresolved("1", pos).getLong(MONTH_O… in test_parse_full_lenient_number_match() local 354 …ormatter(MONTH_OF_YEAR, TextStyle.SHORT).parseUnresolved("January", pos).getLong(MONTH_OF_YEAR), 1… in test_parse_short_lenient_full_match() local 361 …tFormatter(MONTH_OF_YEAR, TextStyle.SHORT).parseUnresolved("Janua", pos).getLong(MONTH_OF_YEAR), 1… in test_parse_short_lenient_short_match() local [all …]
|
D | TestDateTimeFormatterBuilder.java | 239 assertEquals(parsed.getLong(MONTH_OF_YEAR), 1L); in test_appendValue_subsequent2_parse3() local 240 assertEquals(parsed.getLong(DAY_OF_MONTH), 23L); in test_appendValue_subsequent2_parse3() local 249 assertEquals(parsed.getLong(MONTH_OF_YEAR), 1L); in test_appendValue_subsequent2_parse4() local 250 assertEquals(parsed.getLong(DAY_OF_MONTH), 23L); in test_appendValue_subsequent2_parse4() local 259 assertEquals(parsed.getLong(MONTH_OF_YEAR), 1L); in test_appendValue_subsequent2_parse5() local 260 assertEquals(parsed.getLong(DAY_OF_MONTH), 23L); in test_appendValue_subsequent2_parse5() local 272 assertEquals(parsed.getLong(YEAR), 2009L); in test_appendValue_subsequent3_parse6() local 273 assertEquals(parsed.getLong(MONTH_OF_YEAR), 6L); in test_appendValue_subsequent3_parse6() local 274 assertEquals(parsed.getLong(DAY_OF_MONTH), 30L); in test_appendValue_subsequent3_parse6() local 289 assertEquals(parsed.getLong(YEAR), 2012L); in test_appendValueReduced() local [all …]
|
D | TestTextParserWithLocale.java | 173 1L); in test_parse_french_short_strict_short_match() local
|
/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 | CollectAndSummaryStatisticsTest.java | 146 assertEquals(stats.getMax(), 1000L); in testLongStatistics() local 147 assertEquals(stats.getMin(), 1L); in testLongStatistics() local
|
D | RangeTest.java | 119 assertEquals(s.estimateSize(), 1L << 32); in testIntRange() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatterBuilder.java | 1119 assertEquals(parsed.getLong(HOUR_OF_DAY), 12L); in test_adjacent_strict_firstFixedWidth() local 1120 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 30L); in test_adjacent_strict_firstFixedWidth() local 1131 assertEquals(parsed.getLong(HOUR_OF_DAY), 123L); in test_adjacent_strict_firstVariableWidth_success() local 1132 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 9L); in test_adjacent_strict_firstVariableWidth_success() local 1153 assertEquals(parsed.getLong(HOUR_OF_DAY), 12L); in test_adjacent_lenient() local 1154 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 30L); in test_adjacent_lenient() local 1165 assertEquals(parsed.getLong(HOUR_OF_DAY), 123L); in test_adjacent_lenient_firstVariableWidth_success() local 1166 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 9L); in test_adjacent_lenient_firstVariableWidth_success() local 1188 assertEquals(parsed.getLong(HOUR_OF_DAY), 12L); in test_adjacent_strict_fractionFollows() local 1189 assertEquals(parsed.getLong(MINUTE_OF_HOUR), 30L); in test_adjacent_strict_fractionFollows() local [all …]
|
D | TCKDateTimeParseResolver.java | 1181 assertEquals(acc.getLong(INSTANT_SECONDS), 86402L); in test_parse_fromField_InstantSeconds() local 1182 assertEquals(acc.getLong(NANO_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() local 1183 assertEquals(acc.getLong(MICRO_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() local 1184 assertEquals(acc.getLong(MILLI_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds() local 1198 assertEquals(acc.getLong(INSTANT_SECONDS), 86402L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1199 assertEquals(acc.getLong(NANO_OF_SECOND), 123456789L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1200 assertEquals(acc.getLong(MICRO_OF_SECOND), 123456L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1201 assertEquals(acc.getLong(MILLI_OF_SECOND), 123L); in test_parse_fromField_InstantSeconds_NanoOfSecond() local 1215 assertEquals(acc.getLong(SECOND_OF_DAY), 864L); in test_parse_fromField_SecondOfDay() local 1216 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/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | TestEnum1b.java | 4 Z, F, L, A, B enumConstant
|
D | TestEnum1.java | 4 Z, F, L, A, B enumConstant
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | InvokeWithArgumentsTest.java | 41 static final MethodHandles.Lookup L = MethodHandles.lookup(); field in InvokeWithArgumentsTest
|
D | JavaDocExamplesTest.java | 786 Class<?> L = List.class; in testWhileLoop() local 893 Class<?> L = List.class, S = String.class; in testIteratedLoop() local
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeValueRange.java | 108 assertEquals(test.getSmallestMaximum(), 123456789012345L); in test_of_longlong_big() local 109 assertEquals(test.getMaximum(), 123456789012345L); in test_of_longlong_big() local
|
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | RecordClassTest.java | 144 assertEquals(osc.getSerialVersionUID(), 0L); in testSerialVersionUIDNonSer() 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 | 470 assertEquals(base.getLong(YEAR), 1988L); in test_getLong() local 471 assertEquals(base.getLong(YEAR_OF_ERA), 63L); in test_getLong() local 472 assertEquals(base.getLong(MONTH_OF_YEAR), 6L); in test_getLong() local 473 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/util/ |
D | SpliteratorsTest.java | 1048 assertEquals(spliterator.estimateSize(), 0L); in testAbstractLongSpliterator_smallSize() local 1123 assertEquals(spliterator.estimateSize(), 0L); in testAbstractSpliterator_smallSize() 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/nio/channels/ |
D | AsynchronousSocketChannelTest.java | 679 asc.write((ByteBuffer[])null, 0, 1, 100L, TimeUnit.MILLISECONDS, null, in test_write_npe() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 114 assertEquals(Duration.ZERO.getSeconds(), 0L); in test_zero() local 2634 assertEquals(Duration.ofNanos(Long.MAX_VALUE).toNanos(), 9223372036854775807L); in test_toNanos() local 2670 assertEquals(Duration.ofMillis(Long.MAX_VALUE).toMillis(), 9223372036854775807L); in test_toMillis() local
|