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.java187 public void factory_millis_long(long millis, long expectedSeconds, int expectedNanoOfSecond) { in factory_millis_long() argument
189 assertEquals(test.getSeconds(), expectedSeconds); in factory_millis_long() local
397 …public void factory_of_longTemporalUnit(long amount, TemporalUnit unit, long expectedSeconds, int … in factory_of_longTemporalUnit() argument
399 assertEquals(t.getSeconds(), expectedSeconds); in factory_of_longTemporalUnit() local
655 public void factory_parse(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse() argument
657 assertEquals(test.getSeconds(), expectedSeconds); in factory_parse() local
662 public void factory_parse_plus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_plus() argument
664 assertEquals(test.getSeconds(), expectedSeconds); in factory_parse_plus() local
669 public void factory_parse_minus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_minus() argument
674 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);
921 …ion(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expected…
923 assertEquals(i.getEpochSecond(), expectedSeconds);
941 …nit(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expected…
943 assertEquals(i.getEpochSecond(), expectedSeconds);
991 …public void plusSeconds_long(long seconds, int nanos, long amount, long expectedSeconds, int expec…
994 assertEquals(t.getEpochSecond(), expectedSeconds);
1070 …public void plusMillis_long(long seconds, int nanos, long amount, long expectedSeconds, int expect…
1073 assertEquals(t.getEpochSecond(), expectedSeconds);
[all …]
/libcore/luni/src/test/java/libcore/android/system/
DStructTimevalTest.java72 public void fromToMillis(long millisValue, long expectedSeconds, long expectedMicros) { in fromToMillis() argument
75 assertEquals(expectedSeconds, val.tv_sec); in fromToMillis()