Home
last modified time | relevance | path

Searched refs:assertContents (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DFtpURLConnectionTest.java93 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/
DNodeBuilderTest.java36 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()
DSliceSpliteratorTest.java51 … 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/
DSpliteratorTestHelper.java48 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 …]
DLambdaTestHelpers.java278 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/
DSpliteratorTestHelper.java48 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 …]
DLambdaTestHelpers.java277 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/
DExplodeOpTest.java93 assertContents(data, result); in testIntOps()
108 assertContents(data, result); in testLongOps()
123 assertContents(data, result); in testDoubleOps()
DTabulatorsTest.java63 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertContents;
176 assertContents(value, result); in assertValue()
202 assertContents(value, result); in assertValue()
DForEachOpTest.java81 LambdaTestHelpers.assertContents(act, exp); in resultAsserter()
DInfiniteStreamWithLimitOpTest.java131 LambdaTestHelpers.assertContents(act, exp); in unorderedAsserter()
DSliceOpTest.java281 LambdaTestHelpers.assertContents(act, exp); in sliceResultAsserter()