Home
last modified time | relevance | path

Searched refs:expectedSeconds (Results 1 – 3 of 3) 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
187 assertEquals(test.getSeconds(), expectedSeconds); in factory_millis_long() local
395 …public void factory_of_longTemporalUnit(long amount, TemporalUnit unit, long expectedSeconds, int … in factory_of_longTemporalUnit() argument
397 assertEquals(t.getSeconds(), expectedSeconds); in factory_of_longTemporalUnit() local
628 public void factory_parse(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse() argument
630 assertEquals(test.getSeconds(), expectedSeconds); in factory_parse() local
635 public void factory_parse_plus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_plus() argument
637 assertEquals(test.getSeconds(), expectedSeconds); in factory_parse_plus() local
642 public void factory_parse_minus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_minus() argument
647 assertEquals(expectedSeconds == Long.MIN_VALUE, true); in factory_parse_minus()
[all …]
DTCKInstant.java299 public void factory_millis_long(long millis, long expectedSeconds, int expectedNanoOfSecond) {
301 assertEquals(t.getEpochSecond(), expectedSeconds);
915 …ion(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expected…
917 assertEquals(i.getEpochSecond(), expectedSeconds);
935 …nit(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expected…
937 assertEquals(i.getEpochSecond(), expectedSeconds);
985 …public void plusSeconds_long(long seconds, int nanos, long amount, long expectedSeconds, int expec…
988 assertEquals(t.getEpochSecond(), expectedSeconds);
1064 …public void plusMillis_long(long seconds, int nanos, long amount, long expectedSeconds, int expect…
1067 assertEquals(t.getEpochSecond(), expectedSeconds);
[all …]
/libcore/luni/src/test/java/libcore/android/system/
DStructTimevalTest.java70 public void fromToMillis(long millisValue, long expectedSeconds, long expectedMicros) { in fromToMillis() argument
73 assertEquals(expectedSeconds, val.tv_sec); in fromToMillis()