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.java187 public void factory_millis_long(long millis, long expectedSeconds, int expectedNanoOfSecond) { in factory_millis_long() argument
190 assertEquals(test.getNano(), expectedNanoOfSecond); in factory_millis_long() local
397 …_longTemporalUnit(long amount, TemporalUnit unit, long expectedSeconds, int expectedNanoOfSecond) { in factory_of_longTemporalUnit() argument
400 assertEquals(t.getNano(), expectedNanoOfSecond); in factory_of_longTemporalUnit() local
655 public void factory_parse(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse() argument
658 assertEquals(test.getNano(), expectedNanoOfSecond); in factory_parse() local
662 public void factory_parse_plus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_plus() argument
665 assertEquals(test.getNano(), expectedNanoOfSecond); in factory_parse_plus() local
669 public void factory_parse_minus(String text, long expectedSeconds, int expectedNanoOfSecond) { in factory_parse_minus() argument
678 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);
921 …ds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expectedNanoOfSecond) {
924 assertEquals(i.getNano(), expectedNanoOfSecond);
941 …ds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds, int expectedNanoOfSecond) {
944 assertEquals(i.getNano(), expectedNanoOfSecond);
[all …]