/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 | 278 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents() method in LambdaTestHelpers 282 assertContents(actual.iterator(), expected.iterator()); in assertContents() 286 public static<T> void assertContents(Iterator<T> actual, Iterator<T> expected) { in assertContents() method in LambdaTestHelpers 292 public static<T> void assertContents(Iterator<T> actual, T... expected) { in assertContents() method in LambdaTestHelpers 293 assertContents(actual, Arrays.asList(expected).iterator()); in assertContents() 391 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/stream/test/org/openjdk/tests/java/util/stream/ |
D | ExplodeOpTest.java | 93 assertContents(data, result); in testIntOps() 108 assertContents(data, result); in testLongOps() 123 assertContents(data, result); in testDoubleOps()
|
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 | InfiniteStreamWithLimitOpTest.java | 131 LambdaTestHelpers.assertContents(act, exp); in unorderedAsserter()
|
D | SliceOpTest.java | 281 LambdaTestHelpers.assertContents(act, exp); in sliceResultAsserter()
|