Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/Collection/testlibrary/
DCollectionAsserts.java123 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/
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.java279 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/
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/Collection/
DCollectionDefaults.java164 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/
DSpliteratorTestHelper.java37 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/
DFlatMapOpTest.java169 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()
DExplodeOpTest.java96 assertContents(data, result); in testIntOps()
111 assertContents(data, result); in testLongOps()
126 assertContents(data, result); in testDoubleOps()
DMapMultiOpTest.java55 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()
DWhileOpTest.java267 LambdaTestHelpers.assertContents(act, takeInput); in whileResultAsserter()
276 LambdaTestHelpers.assertContents(act, dropInput); in whileResultAsserter()
279 LambdaTestHelpers.assertContents(act, exp); in whileResultAsserter()
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()
DCollectorsTest.java72 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertContents;
235 assertContents(value, result); in assertValue()
260 assertContents(value, result); in assertValue()
DInfiniteStreamWithLimitOpTest.java134 LambdaTestHelpers.assertContents(act, exp); in unorderedAsserter()
DSliceOpTest.java286 LambdaTestHelpers.assertContents(act, exp); in sliceResultAsserter()
/libcore/ojluni/src/test/java/util/stream/Collectors/
DCollectorsTest.java73 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertContents;
238 assertContents(value, result); in assertValue()
263 assertContents(value, result); in assertValue()