Java 类java.util.stream.LongStreamTestScenario 实例源码

项目:jdk8u-jdk    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            exercise();
}
项目:jdk8u-jdk    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            resultAsserter(ra).
            exercise();
}
项目:openjdk-jdk10    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            exercise();
}
项目:openjdk-jdk10    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            resultAsserter(ra).
            exercise();
}
项目:openjdk9    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            exercise();
}
项目:openjdk9    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            resultAsserter(ra).
            exercise();
}
项目:jdk8u_jdk    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            exercise();
}
项目:jdk8u_jdk    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            resultAsserter(ra).
            exercise();
}
项目:lookaside_java-1.8.0-openjdk    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            exercise();
}
项目:lookaside_java-1.8.0-openjdk    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.CLEAR_SIZED_SCENARIOS).
            resultAsserter(ra).
            exercise();
}
项目:infobip-open-jdk-8    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.PAR_STREAM_TO_ARRAY_CLEAR_SIZED).
            exercise();
}
项目:infobip-open-jdk-8    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.PAR_STREAM_TO_ARRAY_CLEAR_SIZED).
            resultAsserter(ra).
            exercise();
}
项目:jdk8u-dev-jdk    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.PAR_STREAM_TO_ARRAY_CLEAR_SIZED).
            exercise();
}
项目:jdk8u-dev-jdk    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.PAR_STREAM_TO_ARRAY_CLEAR_SIZED).
            resultAsserter(ra).
            exercise();
}
项目:OLD-OpenJDK8    文件:InfiniteStreamWithLimitOpTest.java   
@Test(dataProvider = "LongStream.limit")
public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
    // Range is [0, Long.MAX_VALUE), splits are SUBSIZED
    // Such a size will induce out of memory errors for incorrect
    // slice implementations
    withData(longs()).
            stream(s -> fs.apply(s)).
            without(LongStreamTestScenario.PAR_STREAM_TO_ARRAY_CLEAR_SIZED).
            exercise();
}
项目:OLD-OpenJDK8    文件:SplittableRandomTest.java   
@Test(dataProvider = "longs")
public void testLongs(TestData.OfLong data, ResultAsserter<Iterable<Long>> ra) {
    withData(data).
            stream(s -> s).
            without(LongStreamTestScenario.PAR_STREAM_TO_ARRAY_CLEAR_SIZED).
            resultAsserter(ra).
            exercise();
}