/external/clang/lib/ASTMatchers/Dynamic/ |
VariantValue.cpp | 81 VariantValue::VariantValue(const MatcherList &Matchers) : Type(VT_Nothing) { 82 setMatchers(Matchers); 113 delete Value.Matchers; 159 return *Value.Matchers; 165 Value.Matchers = new MatcherList(NewValue);
|
Marshallers.h | 168 /// \brief Helper methods to extract and merge all possible typed matchers 195 MatcherList Matchers; 196 mergePolyMatchers(PolyMatcher, &Matchers, typename T::ReturnTypes()); 197 return Matchers;
|
Registry.cpp | 170 /// \brief Generate a registry map with all the known matchers. 172 // TODO: Here is the list of the missing matchers, grouped by reason. 431 ArrayRef<const DynTypedMatcher*> Matchers = Out.matchers(); 432 if (Matchers.size() == 1) { 433 OwningPtr<DynTypedMatcher> Bound(Matchers[0]->tryBind(BindID));
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
VariantValue.h | 13 /// Used by the registry to construct matchers in a generic way. 35 /// The purpose of this list is to wrap multiple different matchers and 58 ArrayRef<const DynTypedMatcher *> matchers() const { return List; } function in class:clang::ast_matchers::dynamic::MatcherList 60 /// \brief Determines if any of the contained matchers can be converted 63 /// Returns true if one, and only one, of the contained matchers can be 124 VariantValue(const MatcherList &Matchers); 139 void setMatchers(const MatcherList &Matchers); 170 MatcherList *Matchers;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
AndroidTranslatorUnitTest.java | 9 import static org.mockito.Matchers.any; 10 import static org.mockito.Matchers.anyObject; 11 import static org.mockito.Matchers.eq;
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
ParserTest.cpp | 85 Matchers.push_back(ToStore); 100 std::vector<MatcherInfo> Matchers; 151 EXPECT_EQ(ExpectedFoo, Sema.Values[0].getMatchers().matchers()[0]->getID()); 153 Sema.Values[0].getMatchers().matchers()[0])->boundID()); 155 EXPECT_EQ(3ULL, Sema.Matchers.size()); 156 const MockSema::MatcherInfo Bar = Sema.Matchers[0]; 162 const MockSema::MatcherInfo Baz = Sema.Matchers[1]; 168 const MockSema::MatcherInfo Foo = Sema.Matchers[2]; 173 Foo.Args[0].Value.getMatchers().matchers()[0]->getID()); 175 Foo.Args[1].Value.getMatchers().matchers()[0]->getID()) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
EditTextTest.java | 6 import static org.mockito.Matchers.anyInt; 7 import static org.mockito.Matchers.eq;
|
FragmentTransactionTest.java | 8 import static org.mockito.Matchers.anyBoolean;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
ConnectivityServiceTest.java | 24 import static org.mockito.Matchers.anyInt; 25 import static org.mockito.Matchers.eq; 26 import static org.mockito.Matchers.isA;
|
/external/mockito/src/org/mockito/ |
Matchers.java | 8 import org.mockito.internal.matchers.*;
9 import org.mockito.internal.matchers.apachecommons.ReflectionEquals;
22 * {@link Mockito} extends Matchers so to get access to all matchers just import Mockito class statically.
33 * Scroll down to see all methods - full list of matchers.
37 * If you are using argument matchers, <b>all arguments</b> have to be provided by matchers.
48 * Matcher methods like <code>anyObject()</code>, <code>eq()</code> <b>do not</b> return matchers.
60 * <h1>Custom Argument Matchers</h1>
62 * Use {@link Matchers#argThat} method and pass an instance of hamcrest {@link Matcher}. [all...] |
Mockito.java | 33 * <a href="#3">3. Argument matchers </a><br/>
134 * e.g. when stubbing exactly the same method calls or sometimes when argument matchers are used, etc.</li>
140 * <h3 id="3">3. <a class="meaningful_link" href="#argument_matchers">Argument matchers</a></h3>
143 * Sometimes, when extra flexibility is required then you might use argument matchers:
160 * Argument matchers allow flexible verification or stubbing.
161 * {@link Matchers Click here to see} more built-in matchers
162 * and examples of <b>custom argument matchers / hamcrest matchers</b>.
164 * For information solely on <b>custom argument matchers</b> check out javadoc for {@link ArgumentMatcher} class. [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 29 import static org.mockito.Matchers.anyInt; 30 import static org.mockito.Matchers.anyString; 31 import static org.mockito.Matchers.isA; [all...] |
/external/robolectric/lib/test/ |
mockito-core-1.8.5.jar | |
/external/dexmaker/lib/ |
mockito-core-1.9.1-SNAPSHOT.jar | |