/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
D | AllOfTest.java | 7 import static org.hamcrest.core.AllOf.allOf; 18 Matcher<String> matcher = allOf(equalTo("irrelevant"), startsWith("irr")); in copesWithNullsAndUnknownTypes() 26 Matcher<String> matcher = allOf(startsWith("goo"), endsWith("ood")); in evaluatesToTheTheLogicalConjunctionOfTwoOtherMatchers() 36 …Matcher<String> matcher = allOf(startsWith("g"), startsWith("go"), endsWith("d"), startsWith("go")… in evaluatesToTheTheLogicalConjunctionOfManyOtherMatchers() 44 final Matcher<SampleSubClass> matcher = allOf( in supportsMixedTypes() 56 allOf(equalTo("good"), equalTo("bad"), equalTo("ugly"))); in hasAReadableDescription() 61 … assertMismatchDescription("\"good\" was \"bad\"", allOf(equalTo("bad"), equalTo("good")), "bad"); in hasAMismatchDescriptionDescribingTheFirstFailingMatch()
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
D | AllOf.java | 44 public static <T> Matcher<T> allOf(Iterable<Matcher<? super T>> matchers) { in allOf() method in AllOf 54 public static <T> Matcher<T> allOf(Matcher<? super T>... matchers) { in allOf() method in AllOf 55 return allOf((List) Arrays.asList(matchers)); in allOf()
|
D | IsCollectionContaining.java | 10 import static org.hamcrest.core.AllOf.allOf; 109 return allOf(all); in hasItems() 130 return allOf(all); in hasItems()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 71 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/r8/src/test/java/com/android/tools/r8/ |
D | TestCondition.java | 64 private static final ToolSet ANY_TOOL = new ToolSet(EnumSet.allOf(DexTool.class)); 66 new CompilerSet(EnumSet.allOf(CompilerUnderTest.class)); 67 private static final RuntimeSet ANY_RUNTIME = new RuntimeSet(EnumSet.allOf(DexVm.class)); 69 new CompilationModeSet(EnumSet.allOf(CompilationMode.class));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapKeysTester.java | 53 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()
|
D | MultimapEntriesTester.java | 53 assertThat(multimap().entries()).has().allOf( in testContainsEntryWithNullKeyPresent() 66 assertThat(multimap().entries()).has().allOf( in testContainsEntryWithNullValuePresent()
|
D | MultimapPutTester.java | 151 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()
|
D | SortedSetMultimapTestSuiteBuilder.java | 82 if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { in computeMultimapAsMapGetTestSuite()
|
/external/junit/src/main/java/org/junit/rules/ |
D | ExpectedExceptionMatcherBuilder.java | 3 import static org.hamcrest.CoreMatchers.allOf; 34 return allOf(castedMatchers()); in allOfTheMatchers()
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | Predicates.java | 76 public static <T> Predicate<T> allOf(final Predicate<? super T> first, 103 public static <T> Predicate<T> allOf(final Iterable<Predicate<? super T>> components) { 129 public static <T> Predicate<T> allOf(final Predicate<? super T>... components) { 130 return Predicates.<T>allOf(Arrays.asList(components));
|
D | By.java | 200 public static MatchFinder allOf(final MatchFinder... finders) { in allOf() method in By 201 return new MatchFinder(Predicates.allOf(getPredicates(finders))); in allOf()
|
/external/clang/unittests/AST/ |
D | ASTContextParentMapTest.cpp | 67 allOf(hasParent(cxxRecordDecl(unless(isTemplateInstantiation()))), in TEST() 76 compoundStmt(allOf( in TEST()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
D | Matchers.java | 10 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>… in allOf() method in Matchers 11 return org.hamcrest.core.AllOf.<T>allOf(matchers); in allOf() 19 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers) { in allOf() method in Matchers 20 return org.hamcrest.core.AllOf.<T>allOf(matchers); in allOf() 28 …public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcres… in allOf() method in Matchers 29 return org.hamcrest.core.AllOf.<T>allOf(first, second); in allOf() 37 …public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcres… in allOf() method in Matchers 38 return org.hamcrest.core.AllOf.<T>allOf(first, second, third); in allOf() 46 …public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcres… in allOf() method in Matchers 47 return org.hamcrest.core.AllOf.<T>allOf(first, second, third, fourth); in allOf() [all …]
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
D | CoreMatchers.java | 11 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>… in allOf() method in CoreMatchers 12 return org.hamcrest.core.AllOf.<T>allOf(matchers); in allOf() 21 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers) { in allOf() method in CoreMatchers 22 return org.hamcrest.core.AllOf.<T>allOf(matchers); in allOf()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 684 allOf(forField(hasName("foo_")), isWritten()))))); in TEST() 686 allOf(forField(hasName("bar_")), isWritten()))))); in TEST() 688 allOf(forField(hasName("bar_")), unless(isWritten())))))); in TEST() 701 EXPECT_TRUE(matches(Code, cxxConstructorDecl(allOf( in TEST() 702 hasAnyConstructorInitializer(allOf(isBaseInitializer(), isWritten())), in TEST() 704 EXPECT_TRUE(notMatches(Code, cxxConstructorDecl(allOf( in TEST() 705 hasAnyConstructorInitializer(allOf(isBaseInitializer(), isWritten())), in TEST() 707 EXPECT_TRUE(matches(Code, cxxConstructorDecl(allOf( in TEST() 708 hasAnyConstructorInitializer(allOf(isMemberInitializer(), isWritten())), in TEST() 710 EXPECT_TRUE(notMatches(Code, cxxConstructorDecl(allOf( in TEST() [all …]
|
D | ASTMatchersNarrowingTest.cpp | 29 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 32 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 37 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 43 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 294 anyOf(hasName("Y"), allOf(isDerivedFrom("X"), hasName("Z")))); in TEST() 1825 stmt(allOf(ifStmt().bind("if"), in TEST() 1830 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if"))))))); in TEST() 1836 decl(allOf(recordDecl(hasName("::X::Y")).bind("record"), in TEST() 1840 decl(allOf(recordDecl(hasName("::X")).bind("record"), in TEST()
|
/external/caliper/examples/src/main/java/examples/ |
D | EnumSetContainsBenchmark.java | 36 return EnumSet.allOf(RegularSize.class); in newSet() 45 return EnumSet.allOf(LargeSize.class); in newSet()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | IteratorFeature.java | 64 Collections.unmodifiableSet(EnumSet.allOf(IteratorFeature.class));
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 311 anyOf(allOf(hasParent(implicitCastExpr(returned_as_raw_ptr)), in main() 313 allOf(hasParent(implicitCastExpr( in main() 369 allOf(withInitializer(initialized_with_temporary), in main()
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
D | ArgsEnum.java | 50 "Options: " + EnumSet.allOf((Class<? extends Enum>) ArgsEnum.ChoiceType.class)); in main()
|
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/ |
D | FakeTickerTest.java | 75 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
|
/external/guava/guava/src/com/google/common/base/ |
D | Enums.java | 90 for (T enumInstance : EnumSet.allOf(enumClass)) { in populateCache()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | FakeTickerTest.java | 86 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
D | SentinelStrategy.java | 149 super(Predicates.allOf(original.predicate, extraPredicate)); in MorePredicateGetter()
|