Home
last modified time | relevance | path

Searched refs:expectedNanoOfSecond (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java185 public void factory_millis_long(long millis, long expectedSeconds, int expectedNanoOfSecond) { in factory_millis_long() argument
188 assertEquals(test.getNano(), expectedNanoOfSecond); in factory_millis_long() local
395 …_longTemporalUnit(long amount, TemporalUnit unit, long expectedSeconds, int expectedNanoOfSecond) { in factory_of_longTemporalUnit() argument
398 assertEquals(t.getNano(), expectedNanoOfSecond); in factory_of_longTemporalUnit() local
628 public void factory_parse(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse() argument
631 assertEquals(test.getNano(), expectedNanoOfSecond); in factory_parse() local
635 public void factory_parse_plus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_plus() argument
638 assertEquals(test.getNano(), expectedNanoOfSecond); in factory_parse_plus() local
642 public void factory_parse_minus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_minus() argument
651 assertEquals(test, Duration.ofSeconds(expectedSeconds, expectedNanoOfSecond).negated()); in factory_parse_minus()
[all …]
DTCKInstant.java299 public void factory_millis_long(long millis, long expectedSeconds, int expectedNanoOfSecond) {
302 assertEquals(t.getNano(), expectedNanoOfSecond);
331 public void factory_parse(String text, long expectedEpochSeconds, int expectedNanoOfSecond) {
334 assertEquals(t.getNano(), expectedNanoOfSecond);
338 …lic void factory_parseLowercase(String text, long expectedEpochSeconds, int expectedNanoOfSecond) {
341 assertEquals(t.getNano(), expectedNanoOfSecond);
915 …ds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expectedNanoOfSecond) {
918 assertEquals(i.getNano(), expectedNanoOfSecond);
935 …ds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expectedNanoOfSecond) {
938 assertEquals(i.getNano(), expectedNanoOfSecond);
[all …]