Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DStreamOpFlagTestHelper.java33 allStreamFlags = EnumSet.allOf(StreamOpFlag.class);
34 for (StreamOpFlag f : EnumSet.allOf(StreamOpFlag.class))
DOpTestCase.java58 …testScenarios.put(StreamShape.REFERENCE, Collections.unmodifiableSet(EnumSet.allOf(StreamTestScena… in OpTestCase()
59 …testScenarios.put(StreamShape.INT_VALUE, Collections.unmodifiableSet(EnumSet.allOf(IntStreamTestSc… in OpTestCase()
60 …testScenarios.put(StreamShape.LONG_VALUE, Collections.unmodifiableSet(EnumSet.allOf(LongStreamTest… in OpTestCase()
61 …testScenarios.put(StreamShape.DOUBLE_VALUE, Collections.unmodifiableSet(EnumSet.allOf(DoubleStream… in OpTestCase()
549 EnumSet<TerminalTestScenario> tests = EnumSet.allOf(TerminalTestScenario.class); in exercise()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DStreamOpFlagTestHelper.java36 allStreamFlags = EnumSet.allOf(StreamOpFlag.class);
37 for (StreamOpFlag f : EnumSet.allOf(StreamOpFlag.class))
DOpTestCase.java59 …testScenarios.put(StreamShape.REFERENCE, Collections.unmodifiableSet(EnumSet.allOf(StreamTestScena… in OpTestCase()
60 …testScenarios.put(StreamShape.INT_VALUE, Collections.unmodifiableSet(EnumSet.allOf(IntStreamTestSc… in OpTestCase()
61 …testScenarios.put(StreamShape.LONG_VALUE, Collections.unmodifiableSet(EnumSet.allOf(LongStreamTest… in OpTestCase()
62 …testScenarios.put(StreamShape.DOUBLE_VALUE, Collections.unmodifiableSet(EnumSet.allOf(DoubleStream… in OpTestCase()
550 EnumSet<TerminalTestScenario> tests = EnumSet.allOf(TerminalTestScenario.class); in exercise()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java165 EnumSet.allOf((Class) null); in test_AllOf_LClass()
172 EnumSet.allOf(Enum.class); in test_AllOf_LClass()
178 EnumSet<EnumFoo> enumSet = EnumSet.allOf(EnumFoo.class); in test_AllOf_LClass()
191 EnumSet<EnumFoo> anotherSet = EnumSet.allOf(EnumFoo.class); in test_AllOf_LClass()
196 EnumSet<HugeEnum> hugeEnumSet = EnumSet.allOf(HugeEnum.class); in test_AllOf_LClass()
206 EnumSet<HugeEnum> anotherHugeSet = EnumSet.allOf(HugeEnum.class); in test_AllOf_LClass()
413 hugeSet = EnumSet.allOf(HugeEnum.class); in test_addAll_LCollection()
452 Set hugeSetWithSubclass = EnumSet.allOf(HugeEnumWithInnerClass.class); in test_addAll_LCollection()
464 .allOf(HugeEnumWithInnerClass.class); in test_addAll_LCollection()
500 Set<HugeEnum> hugeSet = EnumSet.allOf(HugeEnum.class); in test_remove_LOject()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DClassCastExceptionTest.java71 EnumSet n = EnumSet.allOf(F.class); in testMiniEnumSetAddAll()
103 EnumSet n = EnumSet.allOf(HugeF.class); in testHugeEnumSetAddAll()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DFlagOpTest.java84 for (StreamOpFlag f : EnumSet.allOf(StreamOpFlag.class)) { in testFlagsClearAllSet()
122 for (StreamOpFlag f : EnumSet.allOf(StreamOpFlag.class)) { in testFlagsSetAllClear()
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java124 for (TimeUnit unit : EnumSet.allOf(TimeUnit.class)) { in main()
134 for (TimeUnit unit : EnumSet.allOf(TimeUnit.class)) { in main()
/libcore/ojluni/src/main/java/java/util/
DEnumSet.java129 public static <E extends Enum<E>> EnumSet<E> allOf(Class<E> elementType) { in allOf() method in EnumSet
/libcore/luni/src/test/java/dalvik/system/
DBlockGuardTest.java40 recorder.setChecks(EnumSet.allOf(RecordingPolicy.Check.class)); in setUp()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java3045 CompletableFuture<Void> f = CompletableFuture.allOf(); in testAllOf_empty()
3059 CompletableFuture<Void> f = CompletableFuture.allOf(fs); in testAllOf_normal()
3062 checkIncomplete(CompletableFuture.allOf(fs)); in testAllOf_normal()
3066 checkCompletedNormally(CompletableFuture.allOf(fs), null); in testAllOf_normal()
3076 CompletableFuture<Void> f = CompletableFuture.allOf(fs); in testAllOf_backwards()
3079 checkIncomplete(CompletableFuture.allOf(fs)); in testAllOf_backwards()
3083 checkCompletedNormally(CompletableFuture.allOf(fs), null); in testAllOf_backwards()
3094 CompletableFuture<Void> f = CompletableFuture.allOf(fs); in testAllOf_exceptional()
3097 checkIncomplete(CompletableFuture.allOf(fs)); in testAllOf_exceptional()
3107 checkCompletedWithWrappedException(CompletableFuture.allOf(fs), ex); in testAllOf_exceptional()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java2251 public static CompletableFuture<Void> allOf(CompletableFuture<?>... cfs) { in allOf() method in CompletableFuture