Home
last modified time | relevance | path

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

12

/external/hamcrest/src/org/hamcrest/core/
DAllOf.java39 public static <T> Matcher<T> allOf(Matcher<? extends T>... matchers) { in allOf() method in AllOf
40 return allOf(Arrays.asList(matchers)); in allOf()
47 public static <T> Matcher<T> allOf(Iterable<Matcher<? extends T>> matchers) { in allOf() method in AllOf
/external/hamcrest/library/src/org/hamcrest/collection/
DIsCollectionContaining.java3 import static org.hamcrest.core.AllOf.allOf;
52 return allOf(all); in hasItems()
62 return allOf(all); in hasItems()
/external/junit/src/org/junit/internal/matchers/
DIsCollectionContaining.java3 import static org.hamcrest.core.AllOf.allOf;
54 return allOf(all); in hasItems()
64 return allOf(all); in hasItems()
DCombinableMatcher.java3 import static org.hamcrest.CoreMatchers.allOf;
27 return new CombinableMatcher<T>(allOf(matcher, fMatcher)); in and()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java71 assertThat(byName.keySet()).has().allOf( in testGetResources()
76 assertThat(byToString.keySet()).has().allOf( in testGetResources()
104 assertThat(names).has().allOf(anonymousClass.getName(), LocalClass.class.getName(), in testGetAllClasses()
106 assertThat(strings).has().allOf(anonymousClass.getName(), LocalClass.class.getName(), in testGetAllClasses()
108 assertThat(classes).has().allOf(anonymousClass, LocalClass.class, ClassPath.class, in testGetAllClasses()
111 assertThat(simpleNames).has().allOf("", "Local", "ClassPath", "ClassPathTest"); in testGetAllClasses()
129 assertThat(names).has().allOf(ClassPath.class.getName(), ClassPathTest.class.getName()); in testGetTopLevelClasses()
130 assertThat(strings).has().allOf(ClassPath.class.getName(), ClassPathTest.class.getName()); in testGetTopLevelClasses()
131 assertThat(classes).has().allOf(ClassPath.class, ClassPathTest.class); in testGetTopLevelClasses()
133 assertThat(simpleNames).has().allOf("ClassPath", "ClassPathTest"); in testGetTopLevelClasses()
[all …]
/external/hamcrest/src/org/hamcrest/
DCoreMatchers.java72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { in allOf() method in CoreMatchers
73 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
79 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in allOf() method in CoreMatchers
80 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapKeysTester.java53 assertThat(keys).has().allOf(sampleKeys().e0, sampleKeys().e1); in testKeys()
54 assertThat(keys.entrySet()).has().allOf( in testKeys()
75 assertThat(keys).has().allOf(null, sampleKeys().e1); in testKeysWithNullKey()
76 assertThat(keys.entrySet()).has().allOf( in testKeysWithNullKey()
DMultimapEntriesTester.java53 assertThat(multimap().entries()).has().allOf( in testContainsEntryWithNullKeyPresent()
66 assertThat(multimap().entries()).has().allOf( in testContainsEntryWithNullValuePresent()
DMultimapPutTester.java151 assertThat(entries).has().allOf(Helpers.mapEntry(sampleKeys().e3, sampleValues().e3)); in testPutNotPresentKeyPropagatesToEntries()
160 assertThat(entries).has().allOf(Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testPutPresentKeyPropagatesToEntries()
DSortedSetMultimapTestSuiteBuilder.java82 if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { in computeMultimapAsMapGetTestSuite()
DMultimapPutAllMultimapTester.java112 assertThat(getCollection).has().allOf(sampleValues().e3); in testPutAllPropagatesToGet()
DListMultimapTestSuiteBuilder.java83 if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { in computeMultimapAsMapGetTestSuite()
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp71 allOf(hasParent(cxxRecordDecl(unless(isTemplateInstantiation()))), in TEST()
80 compoundStmt(allOf( in TEST()
/external/droiddriver/src/io/appium/droiddriver/finders/
DBy.java181 public static MatchFinder allOf(final MatchFinder... finders) { in allOf() method in By
182 return new MatchFinder(Predicates.allOf(getPredicates(finders))); in allOf()
DPredicates.java72 public static <T> Predicate<T> allOf(final Predicate<? super T> first,
101 public static <T> Predicate<T> allOf(final Predicate<? super T>... components) {
/external/caliper/examples/src/main/java/examples/
DEnumSetContainsBenchmark.java36 return EnumSet.allOf(RegularSize.class); in newSet()
45 return EnumSet.allOf(LargeSize.class); in newSet()
/external/hamcrest/library/src/org/hamcrest/
DMatchers.java72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { in allOf() method in Matchers
73 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
79 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in allOf() method in Matchers
80 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DIteratorFeature.java64 Collections.unmodifiableSet(EnumSet.allOf(IteratorFeature.class));
/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsEnum.java50 "Options: " + EnumSet.allOf((Class<? extends Enum>) ArgsEnum.ChoiceType.class)); in main()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp434 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
437 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
442 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
448 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
468 anyOf(hasName("Y"), allOf(isDerivedFrom("X"), hasName("Z")))); in TEST()
2223 allOf(forField(hasName("foo_")), isWritten()))))); in TEST()
2225 allOf(forField(hasName("bar_")), isWritten()))))); in TEST()
2227 allOf(forField(hasName("bar_")), unless(isWritten())))))); in TEST()
2240 EXPECT_TRUE(matches(Code, cxxConstructorDecl(allOf( in TEST()
2241 hasAnyConstructorInitializer(allOf(isBaseInitializer(), isWritten())), in TEST()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
DFakeTickerTest.java75 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
/external/guava/guava/src/com/google/common/base/
DEnums.java90 for (T enumInstance : EnumSet.allOf(enumClass)) { in populateCache()
/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java86 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
/external/droiddriver/src/io/appium/droiddriver/scroll/
DSentinelStrategy.java149 super(Predicates.allOf(original.predicate, extraPredicate)); in MorePredicateGetter()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DOptimizer.java74 EnumSet.allOf(OptionalStep.class)); in optimize()

12