/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() argument 204 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testForEach() 224 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach() 234 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testTryAdvance() 254 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance() 264 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTryAdvanceForEach() 285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach() 295 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTraverseAndSplit() 329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit() 362 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitOnce() [all …]
|
D | IntStreamTestScenario.java | 204 private final boolean isOrdered; field in IntStreamTestScenario 210 IntStreamTestScenario(boolean isParallel, boolean isOrdered) { in IntStreamTestScenario() argument 212 this.isOrdered = isOrdered; in IntStreamTestScenario() 223 public boolean isOrdered() { in isOrdered() method in IntStreamTestScenario 224 return isOrdered; in isOrdered()
|
D | DoubleStreamTestScenario.java | 204 private final boolean isOrdered; field in DoubleStreamTestScenario 210 DoubleStreamTestScenario(boolean isParallel, boolean isOrdered) { in DoubleStreamTestScenario() argument 212 this.isOrdered = isOrdered; in DoubleStreamTestScenario() 223 public boolean isOrdered() { in isOrdered() method in DoubleStreamTestScenario 224 return isOrdered; in isOrdered()
|
D | LongStreamTestScenario.java | 203 private final boolean isOrdered; field in LongStreamTestScenario 209 LongStreamTestScenario(boolean isParallel, boolean isOrdered) { in LongStreamTestScenario() argument 211 this.isOrdered = isOrdered; in LongStreamTestScenario() 222 public boolean isOrdered() { in isOrdered() method in LongStreamTestScenario 223 return isOrdered; in isOrdered()
|
D | StreamTestScenario.java | 242 private final boolean isOrdered; field in StreamTestScenario 248 StreamTestScenario(boolean isParallel, boolean isOrdered) { in StreamTestScenario() argument 250 this.isOrdered = isOrdered; in StreamTestScenario() 261 public boolean isOrdered() { in isOrdered() method in StreamTestScenario 262 return isOrdered; in isOrdered()
|
D | OpTestCase.java | 86 void assertResult(R actual, R expected, boolean isOrdered, boolean isParallel); in assertResult() argument 96 boolean isOrdered(); in isOrdered() method 398 … resultAsserter.assertResult(result, refResult, isStreamOrdered && test.isOrdered(), test.isParall… in exercise() 547 boolean isOrdered = StreamOpFlag.ORDERED.isKnown(ap.getStreamFlags()); in exercise() 578 … () -> resultAsserter.assertResult(result, refResult, isOrdered, test.requiresParallelSource()), in exercise()
|
D | TestData.java | 54 default boolean isOrdered() { in isOrdered() method
|
/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() argument 204 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testForEach() 224 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach() 234 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testTryAdvance() 254 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance() 264 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTryAdvanceForEach() 285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach() 295 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTraverseAndSplit() 329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit() 362 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitOnce() [all …]
|
D | IntStreamTestScenario.java | 201 private final boolean isOrdered; field in IntStreamTestScenario 207 IntStreamTestScenario(boolean isParallel, boolean isOrdered) { in IntStreamTestScenario() argument 209 this.isOrdered = isOrdered; in IntStreamTestScenario() 220 public boolean isOrdered() { in isOrdered() method in IntStreamTestScenario 221 return isOrdered; in isOrdered()
|
D | DoubleStreamTestScenario.java | 200 private final boolean isOrdered; field in DoubleStreamTestScenario 206 DoubleStreamTestScenario(boolean isParallel, boolean isOrdered) { in DoubleStreamTestScenario() argument 208 this.isOrdered = isOrdered; in DoubleStreamTestScenario() 219 public boolean isOrdered() { in isOrdered() method in DoubleStreamTestScenario 220 return isOrdered; in isOrdered()
|
D | LongStreamTestScenario.java | 200 private final boolean isOrdered; field in LongStreamTestScenario 206 LongStreamTestScenario(boolean isParallel, boolean isOrdered) { in LongStreamTestScenario() argument 208 this.isOrdered = isOrdered; in LongStreamTestScenario() 219 public boolean isOrdered() { in isOrdered() method in LongStreamTestScenario 220 return isOrdered; in isOrdered()
|
D | StreamTestScenario.java | 239 private final boolean isOrdered; field in StreamTestScenario 245 StreamTestScenario(boolean isParallel, boolean isOrdered) { in StreamTestScenario() argument 247 this.isOrdered = isOrdered; in StreamTestScenario() 258 public boolean isOrdered() { in isOrdered() method in StreamTestScenario 259 return isOrdered; in isOrdered()
|
D | OpTestCase.java | 85 void assertResult(R actual, R expected, boolean isOrdered, boolean isParallel); in assertResult() argument 95 boolean isOrdered(); in isOrdered() method 397 … resultAsserter.assertResult(result, refResult, isStreamOrdered && test.isOrdered(), test.isParall… in exercise() 546 boolean isOrdered = StreamOpFlag.ORDERED.isKnown(ap.getStreamFlags()); in exercise() 577 … () -> resultAsserter.assertResult(result, refResult, isOrdered, test.requiresParallelSource()), in exercise()
|
D | TestData.java | 53 default boolean isOrdered() { in isOrdered() method
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | SliceSpliteratorTest.java | 51 … public void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered) { in assertContents() argument 52 if (isOrdered) { in assertContents()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | DistinctOpTest.java | 188 .resultAsserter((actual, expected, isOrdered, isParallel) -> { in testStable()
|
D | ToArrayOpTest.java | 153 if (!data.isOrdered()) { in statefulOpResultAsserter()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | ReferencePipeline.java | 157 if (!isOrdered()) in unordered() 511 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
|
D | AbstractPipeline.java | 512 final boolean isOrdered() { in isOrdered() method in AbstractPipeline
|
D | IntPipeline.java | 332 if (!isOrdered())
|
D | DoublePipeline.java | 295 if (!isOrdered())
|
D | LongPipeline.java | 313 if (!isOrdered())
|