Home
last modified time | relevance | path

Searched refs:testCases (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/
DTestDoubleSumAverage.java101 Map<Supplier<DoubleStream>, Double> testCases = new LinkedHashMap<>(); in testNonfiniteSum() local
102 testCases.put(() -> DoubleStream.of(MAX_VALUE, MAX_VALUE), POSITIVE_INFINITY); in testNonfiniteSum()
103 testCases.put(() -> DoubleStream.of(-MAX_VALUE, -MAX_VALUE), NEGATIVE_INFINITY); in testNonfiniteSum()
105 testCases.put(() -> DoubleStream.of(1.0d, POSITIVE_INFINITY, 1.0d), POSITIVE_INFINITY); in testNonfiniteSum()
106 testCases.put(() -> DoubleStream.of(POSITIVE_INFINITY), POSITIVE_INFINITY); in testNonfiniteSum()
107testCases.put(() -> DoubleStream.of(POSITIVE_INFINITY, POSITIVE_INFINITY), POSITIVE_INFINITY); in testNonfiniteSum()
108testCases.put(() -> DoubleStream.of(POSITIVE_INFINITY, POSITIVE_INFINITY, 0.0), POSITIVE_INFINITY); in testNonfiniteSum()
110 testCases.put(() -> DoubleStream.of(1.0d, NEGATIVE_INFINITY, 1.0d), NEGATIVE_INFINITY); in testNonfiniteSum()
111 testCases.put(() -> DoubleStream.of(NEGATIVE_INFINITY), NEGATIVE_INFINITY); in testNonfiniteSum()
112testCases.put(() -> DoubleStream.of(NEGATIVE_INFINITY, NEGATIVE_INFINITY), NEGATIVE_INFINITY); in testNonfiniteSum()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetSocketAddressTest.java113 Object[] testCases = { in testSerializationSelf() local
117 SerializationTest.verifySelf(testCases, COMPARATOR); in testSerializationSelf()
125 Object[] testCases = { in testSerializationCompatibility() local
129 SerializationTest.verifyGolden(this, testCases, COMPARATOR); in testSerializationCompatibility()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DEnumTest.java224 Object[] testCases = { enumColorMap, Sample.CURLY }; in testSerializationSelf() local
226 SerializationTest.verifySelf(testCases); in testSerializationSelf()
253 Object[] testCases = { Sample.CURLY, new MockEnum(), in testSerializationCompatibility() local
259 SerializationTest.verifyGolden(this, testCases); in testSerializationCompatibility()