/external/easymock/src/org/easymock/internal/ |
D | ExpectedInvocation.java | 25 import org.easymock.internal.matchers.Equals; 36 private final List<IArgumentMatcher> matchers; field in ExpectedInvocation 39 List<IArgumentMatcher> matchers) { in ExpectedInvocation() argument 40 this(invocation, matchers, null); in ExpectedInvocation() 44 List<IArgumentMatcher> matchers, @SuppressWarnings("deprecation") in ExpectedInvocation() argument 48 this.matchers = (matcher == null) ? createMissingMatchers(invocation, in ExpectedInvocation() 49 matchers) : null; in ExpectedInvocation() 53 List<IArgumentMatcher> matchers) { in createMissingMatchers() argument 54 if (matchers != null) { in createMissingMatchers() 55 if (matchers.size() != invocation.getArguments().length) { in createMissingMatchers() [all …]
|
D | LegacyMatcherProvider.java | 36 …private transient Map<Method, ArgumentsMatcher> matchers = new HashMap<Method, ArgumentsMatcher>(); field in LegacyMatcherProvider 39 if (!matchers.containsKey(method)) { in getMatcher() 43 matchers.put(method, defaultMatcher); in getMatcher() 45 return matchers.get(method); in getMatcher() 59 if (matchers.containsKey(method) && matchers.get(method) != matcher) { in setMatcher() 68 matchers.put(method, matcher); in setMatcher() 77 matchers = new HashMap<Method, ArgumentsMatcher>(map.size()); in readObject() 82 matchers.put(method, entry.getValue()); in readObject() 95 matchers.size()); in writeObject() 96 for (Map.Entry<Method, ArgumentsMatcher> matcher : matchers.entrySet()) { in writeObject()
|
D | LastControl.java | 24 import org.easymock.internal.matchers.And; 25 import org.easymock.internal.matchers.Not; 26 import org.easymock.internal.matchers.Or;
|
/external/hamcrest/src/org/hamcrest/core/ |
D | AnyOf.java | 17 private final Iterable<Matcher<? extends T>> matchers; field in AnyOf 19 public AnyOf(Iterable<Matcher<? extends T>> matchers) { in AnyOf() argument 20 this.matchers = matchers; in AnyOf() 24 for (Matcher<? extends T> matcher : matchers) { in matches() 33 description.appendList("(", " or ", ")", matchers); in describeTo() 40 public static <T> Matcher<T> anyOf(Matcher<? extends T>... matchers) { in anyOf() argument 41 return anyOf(Arrays.asList(matchers)); in anyOf() 48 public static <T> Matcher<T> anyOf(Iterable<Matcher<? extends T>> matchers) { in anyOf() argument 49 return new AnyOf<T>(matchers); in anyOf()
|
D | AllOf.java | 16 private final Iterable<Matcher<? extends T>> matchers; field in AllOf 18 public AllOf(Iterable<Matcher<? extends T>> matchers) { in AllOf() argument 19 this.matchers = matchers; in AllOf() 23 for (Matcher<? extends T> matcher : matchers) { in matches() 32 description.appendList("(", " and ", ")", matchers); in describeTo() 39 public static <T> Matcher<T> allOf(Matcher<? extends T>... matchers) { in allOf() argument 40 return allOf(Arrays.asList(matchers)); in allOf() 47 public static <T> Matcher<T> allOf(Iterable<Matcher<? extends T>> matchers) { in allOf() argument 48 return new AllOf<T>(matchers); in allOf()
|
/external/proguard/src/proguard/util/ |
D | ListMatcher.java | 33 private final StringMatcher[] matchers; field in ListMatcher 37 public ListMatcher(StringMatcher[] matchers) in ListMatcher() argument 39 this(matchers, null); in ListMatcher() 43 public ListMatcher(StringMatcher[] matchers, boolean[] negate) in ListMatcher() argument 45 this.matchers = matchers; in ListMatcher() 55 for (int index = 0; index < matchers.length; index++) in matches() 57 StringMatcher matcher = matchers[index]; in matches()
|
/external/easymock/src/org/easymock/internal/matchers/ |
D | Or.java | 16 package org.easymock.internal.matchers; 28 private final List<IArgumentMatcher> matchers; field in Or 30 public Or(List<IArgumentMatcher> matchers) { in Or() argument 31 this.matchers = matchers; in Or() 35 for (IArgumentMatcher matcher : matchers) { in matches() 45 for (Iterator<IArgumentMatcher> it = matchers.iterator(); it.hasNext();) { in appendTo()
|
D | And.java | 16 package org.easymock.internal.matchers; 28 private final List<IArgumentMatcher> matchers; field in And 30 public And(List<IArgumentMatcher> matchers) { in And() argument 31 this.matchers = matchers; in And() 35 for (IArgumentMatcher matcher : matchers) { in matches() 45 for (Iterator<IArgumentMatcher> it = matchers.iterator(); it.hasNext();) { in appendTo()
|
D | LessOrEqual.java | 16 package org.easymock.internal.matchers;
|
D | GreaterOrEqual.java | 16 package org.easymock.internal.matchers;
|
D | GreaterThan.java | 16 package org.easymock.internal.matchers;
|
D | LessThan.java | 16 package org.easymock.internal.matchers;
|
/external/hamcrest/src/org/hamcrest/ |
D | CoreMatchers.java | 72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { in allOf() argument 73 return org.hamcrest.core.AllOf.allOf(matchers); in allOf() 79 …<T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> matchers) { in allOf() argument 80 return org.hamcrest.core.AllOf.allOf(matchers); in allOf() 86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) { in anyOf() argument 87 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf() 93 …<T> org.hamcrest.Matcher<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> matchers) { in anyOf() argument 94 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
|
/external/junit/src/org/junit/matchers/ |
D | JUnitMatchers.java | 1 package org.junit.matchers; 4 import org.junit.internal.matchers.CombinableMatcher; 5 import org.junit.internal.matchers.Each; 6 import org.junit.internal.matchers.IsCollectionContaining; 7 import org.junit.internal.matchers.StringContains;
|
D | package-info.java | 9 package org.junit.matchers;
|
/external/chromium/testing/gmock/ |
D | CHANGES | 6 * New matchers: Pointwise(), Each(). 31 composite matchers. 32 * The new matcher API lets user-defined matchers generate custom 38 * Regular expression matchers on all platforms. 47 * Custom matchers defined using MatcherInterface or MakePolymorphicMatcher() 48 need to be updated after upgrading to Google Mock 1.5.0; matchers defined 65 * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(), 80 * New feature: macros for easily defining new matchers 82 * New feature: more container matchers.
|
D | Makefile.am | 37 include/gmock/gmock-generated-matchers.h \ 39 include/gmock/gmock-matchers.h \ 95 src/gmock-matchers.cc \ 136 include/gmock/gmock-generated-matchers.h.pump \
|
/external/chromium/testing/gmock/test/ |
D | gmock-internal-utils_test.cc | 265 tuple<> matchers; in TEST() local 268 EXPECT_TRUE(TupleMatches(matchers, values)); in TEST() 272 tuple<Matcher<int> > matchers(Eq(1)); in TEST() local 276 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 277 EXPECT_FALSE(TupleMatches(matchers, values2)); in TEST() 281 tuple<Matcher<int>, Matcher<char> > matchers(Eq(1), Eq('a')); in TEST() local 287 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 288 EXPECT_FALSE(TupleMatches(matchers, values2)); in TEST() 289 EXPECT_FALSE(TupleMatches(matchers, values3)); in TEST() 290 EXPECT_FALSE(TupleMatches(matchers, values4)); in TEST() [all …]
|
/external/littlemock/src/com/google/testing/littlemock/ |
D | LittleMock.java | 690 ArgumentMatcher[] matchers = checkClearAndGetMatchers(method); 693 … innerVerify(method, matchers, methodCall, proxy, callSite, mHowManyTimes, mOrderCounter); 712 ArgumentMatcher[] matchers = checkClearAndGetMatchers(method); 715 innerStub(method, matchers, methodCall, callSite, mStubbingAction); 782 private void innerStub(Method method, final ArgumentMatcher[] matchers, MethodCall methodCall, 786 if (matchers.length == 0) { 795 MethodCall matchMatchersMethodCall = new MethodCall(method, callSite, matchers) { 797 public boolean argsMatch(Object[] args) { return doMatchersMatch(matchers, args); } 802 setCaptures(matchers, innerArgs); 838 private boolean doMatchersMatch(ArgumentMatcher[] matchers, Object[] args) { [all …]
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
D | tokenizer.py | 40 def __init__(self, starting_mode, matchers, default_types): argument 51 self.matchers = matchers 112 for matcher in self.matchers[self.mode]:
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
D | javascripttokenizer.py | 340 matchers = self.JAVASCRIPT_MATCHERS 343 matchers = copy.deepcopy(matchers) 344 matchers[JavaScriptModes.DOC_COMMENT_MODE] = matchers[ 347 tokenizer.Tokenizer.__init__(self, JavaScriptModes.TEXT_MODE, matchers,
|
/external/junit/src/org/junit/rules/ |
D | ExpectedException.java | 4 import static org.junit.matchers.JUnitMatchers.both; 5 import static org.junit.matchers.JUnitMatchers.containsString; 10 import org.junit.internal.matchers.TypeSafeMatcher;
|
/external/junit/src/org/junit/internal/matchers/ |
D | Each.java | 1 package org.junit.internal.matchers; 4 import static org.junit.internal.matchers.IsCollectionContaining.hasItem;
|
/external/chromium/testing/ |
D | gmock.gyp | 20 'gmock/include/gmock/gmock-generated-matchers.h', 22 'gmock/include/gmock/gmock-matchers.h', 31 'gmock/src/gmock-matchers.cc',
|
/external/chromium/testing/gmock/include/gmock/ |
D | gmock-generated-matchers.h.pump | 38 // This file implements some commonly used variadic matchers. 46 #include "gmock/gmock-matchers.h" 220 const Matcher<const Element&> matchers[] = { 228 return MakeMatcher(new ElementsAreMatcherImpl<Container>(matchers, $i)); 289 // matchers. The former form infers the size of 'array', which must 306 // sub-matchers. AllOf is called fully qualified to prevent ADL from firing. 329 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing. 357 // define custom matchers easily. 446 // support multi-parameter matchers. 511 // can be useful when composing matchers. [all …]
|