Searched refs:expectedVal (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeBuilderCombinations.java | 109 Class<?> query, Object expectedVal) { in test_derive() argument 151 if (expectedVal != null) { in test_derive() 152 assertEquals(parsed.query(LocalDate::from), expectedVal); in test_derive() local 186 …final TemporalField field1, final Number value1, TemporalField expectedField, Number expectedVal) { in test_normalized() argument 204 if (expectedVal != null) { in test_normalized() 205 assertEquals(temporal.getLong(expectedField), expectedVal.longValue()); in test_normalized()
|
/libcore/ojluni/src/test/java/util/Date/ |
D | DateTest.java | 49 long expectedVal = -2208988800000L; in testParseOfGMT() local 53 Assert.assertEquals(OUT.getTime( ), expectedVal ); in testParseOfGMT() local
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | LocalsAndOperands.java | 482 static boolean primitiveValueEquals(Object primVal, Object expectedVal) { in primitiveValueEquals() argument 484 if (expectedVal instanceof Long) { in primitiveValueEquals() 488 return Objects.equals(primitiveLongValue.invoke(primVal), expectedVal); in primitiveValueEquals() 489 } else if (expectedVal instanceof Integer) { in primitiveValueEquals() 490 int expectedInt = (Integer)expectedVal; in primitiveValueEquals() 506 throw new RuntimeException("Called with non-Integer/Long: " + expectedVal); in primitiveValueEquals()
|
/libcore/ojluni/src/test/java/util/Map/ |
D | InPlaceOpsCollisions.java | 191 T expectedVal = mappingFunction.apply(keys[0]); in testComputeIfAbsent() local 208 assertEquals(retVal, expectedVal, in testComputeIfAbsent() 210 assertEquals(expectedVal, map.get(keys[i]), in testComputeIfAbsent() 215 assertTrue(map.containsKey(keys[i]) != (expectedVal == null), in testComputeIfAbsent() 217 if (expectedVal != null) { in testComputeIfAbsent() 222 if (expectedVal != null) { in testComputeIfAbsent() 223 assertTrue(map.containsValue(expectedVal), in testComputeIfAbsent() 224 String.format("computeIfAbsent: containsValue(%s[%s])", desc, expectedVal)); in testComputeIfAbsent()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | MultiThreadAccessTest.java | 222 double expectedVal = id + numThreads; in test_MultipleUpdatesInOneTables() local
|