/libcore/ojluni/src/test/java/util/Collection/testlibrary/ |
D | CollectionAsserts.java | 123 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents() method in CollectionAsserts 124 assertContents(actual, expected, null); in assertContents() 127 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected, String msg) { in assertContents() method in CollectionAsserts 128 assertContents(actual.iterator(), expected.iterator(), msg); in assertContents() 131 public static<T> void assertContents(Iterator<T> actual, Iterator<T> expected) { in assertContents() method in CollectionAsserts 132 assertContents(actual, expected, null); in assertContents() 135 public static<T> void assertContents(Iterator<T> actual, Iterator<T> expected, String msg) { in assertContents() method in CollectionAsserts 165 public static<T> void assertContents(Iterator<T> actual, T... expected) { in assertContents() method in CollectionAsserts 166 assertContents(actual, Arrays.asList(expected).iterator()); in assertContents()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | FtpURLConnectionTest.java | 93 assertContents(fileContents, connection.getInputStream()); in testInputUrl() 135 assertContents(newFileContents, openFileSystemContents(filePath)); in testOutputUrl() 143 assertContents(fileContents, connection.getInputStream()); in testConnectOverProxy_noProxy() 183 assertContents(fileContents, connection.getInputStream()); in testConnectOverProxy_explicit_http_uses_direct_connection() 213 assertContents(fileContents, inputStream); in testConnectOverProxy_implicit_http_fails() 227 assertContents(fileContents, connection.getInputStream()); in testInputUrlWithSpaces() 234 assertContents(data, url.openConnection().getInputStream()); in testBinaryFileContents() 245 assertContents(fileContents, url.openConnection().getInputStream()); in testInputUrlWithSpacesViaProxySelector() 292 private static void assertContents(byte[] expectedContents, InputStream inputStream) in assertContents() method in FtpURLConnectionTest
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | NodeBuilderTest.java | 36 import static java.util.stream.LambdaTestHelpers.assertContents; 87 assertContents(_l, l); in testIteration() 132 assertContents(_l, l); in testIntIteration() 182 assertContents(_l, l); in testLongIteration() 232 assertContents(_l, l); in testDoubleIteration()
|
D | SliceSpliteratorTest.java | 51 … public void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered) { in assertContents() method in SliceSpliteratorTest.UnorderedContentAsserter
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 48 void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered); in assertContents() method 52 = SpliteratorTestHelper::assertContents; 224 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach() 254 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance() 285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach() 329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit() 380 asserter.assertContents(fromSplit, exp, isOrdered); in testSplitOnce() 399 asserter.assertContents(dest, exp, isOrdered); in testSplitSixDeep() 405 asserter.assertContents(dest, exp, isOrdered); in testSplitSixDeep() 492 asserter.assertContents(splits, exp, isOrdered); in testSplitUntilNull() [all …]
|
D | LambdaTestHelpers.java | 279 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents() method in LambdaTestHelpers 283 assertContents(actual.iterator(), expected.iterator()); in assertContents() 287 public static<T> void assertContents(Iterator<T> actual, Iterator<T> expected) { in assertContents() method in LambdaTestHelpers 293 public static<T> void assertContents(Iterator<T> actual, T... expected) { in assertContents() method in LambdaTestHelpers 294 assertContents(actual, Arrays.asList(expected).iterator()); in assertContents() 392 assertContents((Iterable) a, (Iterable) b);
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 48 void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered); in assertContents() method 52 = SpliteratorTestHelper::assertContents; 224 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach() 254 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance() 285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach() 329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit() 380 asserter.assertContents(fromSplit, exp, isOrdered); in testSplitOnce() 399 asserter.assertContents(dest, exp, isOrdered); in testSplitSixDeep() 405 asserter.assertContents(dest, exp, isOrdered); in testSplitSixDeep() 492 asserter.assertContents(splits, exp, isOrdered); in testSplitUntilNull() [all …]
|
D | LambdaTestHelpers.java | 277 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents() method in LambdaTestHelpers 281 assertContents(actual.iterator(), expected.iterator()); in assertContents() 285 public static<T> void assertContents(Iterator<T> actual, Iterator<T> expected) { in assertContents() method in LambdaTestHelpers 291 public static<T> void assertContents(Iterator<T> actual, T... expected) { in assertContents() method in LambdaTestHelpers 292 assertContents(actual, Arrays.asList(expected).iterator()); in assertContents() 390 assertContents((Iterable) a, (Iterable) b);
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | CollectionDefaults.java | 164 CollectionAsserts.assertContents(set, original, test.toString()); in testForEach() 174 CollectionAsserts.assertContents(actual, set, test.toString()); in testForEach() 175 CollectionAsserts.assertContents(actual, original, test.toString()); in testForEach() 197 CollectionAsserts.assertContents(set, original, test.toString()); in testRemoveIf()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/ |
D | SpliteratorTestHelper.java | 37 void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered); in assertContents() method 41 = SpliteratorTestHelper::assertContents; 275 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach() 305 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance() 336 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach() 380 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit() 431 asserter.assertContents(fromSplit, exp, isOrdered); in testSplitOnce() 450 asserter.assertContents(dest, exp, isOrdered); in testSplitSixDeep() 456 asserter.assertContents(dest, exp, isOrdered); in testSplitSixDeep() 531 asserter.assertContents(splits, exp, isOrdered); in testSplitUntilNull() [all …]
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | FlatMapOpTest.java | 169 assertContents(data, result); in testIntOps() 173 assertContents(data, result); in testIntOps() 209 assertContents(data, result); in testLongOps() 213 assertContents(data, result); in testLongOps() 246 assertContents(data, result); in testDoubleOps() 250 assertContents(data, result); in testDoubleOps()
|
D | ExplodeOpTest.java | 96 assertContents(data, result); in testIntOps() 111 assertContents(data, result); in testLongOps() 126 assertContents(data, result); in testDoubleOps()
|
D | MapMultiOpTest.java | 55 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertContents; 201 assertContents(data, result); in testIntOps() 205 assertContents(data, result); in testIntOps() 255 assertContents(data, result); in testDoubleOps() 259 assertContents(data, result); in testDoubleOps() 303 assertContents(data, result); in testLongOps() 307 assertContents(data, result); in testLongOps()
|
D | WhileOpTest.java | 267 LambdaTestHelpers.assertContents(act, takeInput); in whileResultAsserter() 276 LambdaTestHelpers.assertContents(act, dropInput); in whileResultAsserter() 279 LambdaTestHelpers.assertContents(act, exp); in whileResultAsserter()
|
D | TabulatorsTest.java | 63 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertContents; 176 assertContents(value, result); in assertValue() 202 assertContents(value, result); in assertValue()
|
D | ForEachOpTest.java | 81 LambdaTestHelpers.assertContents(act, exp); in resultAsserter()
|
D | CollectorsTest.java | 72 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertContents; 235 assertContents(value, result); in assertValue() 260 assertContents(value, result); in assertValue()
|
D | InfiniteStreamWithLimitOpTest.java | 134 LambdaTestHelpers.assertContents(act, exp); in unorderedAsserter()
|
D | SliceOpTest.java | 286 LambdaTestHelpers.assertContents(act, exp); in sliceResultAsserter()
|
/libcore/ojluni/src/test/java/util/stream/Collectors/ |
D | CollectorsTest.java | 73 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertContents; 238 assertContents(value, result); in assertValue() 263 assertContents(value, result); in assertValue()
|