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

项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testParSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntParSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongParSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u-jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleParSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>.small", dataProviderClass = StreamTestDataProvider.class)
public void testSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>.small", dataProviderClass = StreamTestDataProvider.class)
public void testParSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData.small", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData.small", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntParSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData.small", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData.small", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongParSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData.small", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:openjdk9    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData.small", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleParSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testParSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntParSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongParSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:jdk8u_jdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleParSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testParSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntParSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongParSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleParSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
public void testParSpliterators(String name, TestData.OfRef<Integer> data) {
    for (Function<Stream<Integer>, Stream<Integer>> f : streamFunctions()) {
        SpliteratorTestHelper.testSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "IntStreamTestData", dataProviderClass = IntStreamTestDataProvider.class)
public void testIntParSpliterators(String name, TestData.OfInt data) {
    for (Function<IntStream, IntStream> f : intStreamFunctions()) {
        SpliteratorTestHelper.testIntSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "LongStreamTestData", dataProviderClass = LongStreamTestDataProvider.class)
public void testLongParSpliterators(String name, TestData.OfLong data) {
    for (Function<LongStream, LongStream> f : longStreamFunctions()) {
        SpliteratorTestHelper.testLongSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.stream()).spliterator());
    }
}
项目:infobip-open-jdk-8    文件:StreamSpliteratorTest.java   
@Test(dataProvider = "DoubleStreamTestData", dataProviderClass = DoubleStreamTestDataProvider.class)
public void testDoubleParSpliterators(String name, TestData.OfDouble data) {
    for (Function<DoubleStream, DoubleStream> f : doubleStreamFunctions()) {
        SpliteratorTestHelper.testDoubleSpliterator(() -> f.apply(data.parallelStream()).spliterator());
    }
}