Home
last modified time | relevance | path

Searched defs:L (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatterBuilder.java744 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 …]
DTCKDateTimeParseResolver.java1177 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 …]
DTCKDateTimeFormatter.java457 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 …]
DTCKPadPrinterParser.java201 assertEquals(parsed.getLong(MONTH_OF_YEAR), 2L); // +2, not -2 in test_parse_decoratedStartsWithPad_number() local
DTCKDateTimeFormatters.java1171 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/
DTestTextParser.java111 .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 …]
DTestDateTimeFormatterBuilder.java229 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/
DSummaryStatisticsTest.java70 assertEquals(stats.getMax(), 1000L); in testLongStatistics() local
71 assertEquals(stats.getMin(), 1L); in testLongStatistics() local
DRangeTest.java119 assertEquals(s.estimateSize(), 1L << 32); in testIntRange() local
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DTestEnum1.java4 Z, F, L, A, B enumConstant
DTestEnum1b.java4 Z, F, L, A, B enumConstant
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestDateTimeValueRange.java107 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/
DTestOffsetDateTime_instants.java309 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/
DTCKJapaneseChronology.java475 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/
DAnnotatedElementBenchmark.java258 long g() default 0L; in g() field
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java679 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/
DEnumSetTest.java45 … 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/
DReflectionTest.java635 @interface L {} annotation in ReflectionTest.HasMemberClasses
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java112 assertEquals(Duration.ZERO.getSeconds(), 0L); in test_zero() local
2420 assertEquals(test.toNanos(), 321123456789L); in test_toNanos() local