/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
MenuTest.java | 23 import org.mockito.Matchers; 76 .onMenuVisibilityChange(Matchers.eq(true)); 78 .onMenuVisibilityChange(Matchers.eq(false)); 80 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_NONE), 81 Matchers.isNull(String.class), Matchers.isNull(Runnable.class)); 86 .onMenuVisibilityChange(Matchers.eq(false)); 96 .onMenuVisibilityChange(Matchers.eq(true)); 98 .onMenuVisibilityChange(Matchers.eq(false)); 100 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_GUIDE) [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
ImageRequestTest.java | 30 import org.mockito.Matchers; 64 Matchers.eq(ImageRequest.UNSPECIFIED_SIZE), 65 Matchers.eq(ImageRequest.UNSPECIFIED_SIZE)); 95 Matchers.eq(DOWNSAMPLE_IMAGE_SIZE), Matchers.eq(DOWNSAMPLE_IMAGE_SIZE));
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
AudioRecordViewTest.java | 29 import org.mockito.Matchers; 47 Mockito.verify(mockHost).onAudioRecorded(Matchers.any(MessagePartData.class)); 59 Mockito.when(mockRecorder.startRecording(Matchers.<OnErrorListener>any(), 60 Matchers.<OnInfoListener>any(), Matchers.anyInt())).thenReturn(true); 64 Mockito.verify(mockRecorder).startRecording(Matchers.<OnErrorListener>any(), 65 Matchers.<OnInfoListener>any(), Matchers.anyInt());
|
/external/clang/include/clang/ASTMatchers/ |
ASTMatchFinder.h | 10 // Provides a way to construct an ASTConsumer that runs given matchers 55 /// After creation, you can add multiple matchers to the MatchFinder via 58 /// Once all matchers are added, newASTConsumer() returns an ASTConsumer 63 /// traversal on the AST, and applying the matchers in the order in which they 66 /// See ASTMatchers.h for more information about how to create matchers. 109 /// \brief An id used to group the matchers. 216 MatchersByType Matchers; 229 /// Multiple results occur when using matchers like \c forEachDescendant,
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
ParserTest.cpp | 29 // Optimizations on the matcher framework make simple matchers like 60 Matchers.push_back(ToStore); 73 std::vector<MatcherInfo> Matchers; 139 EXPECT_EQ(3ULL, Sema.Matchers.size()); 140 const MockSema::MatcherInfo Bar = Sema.Matchers[0]; 146 const MockSema::MatcherInfo Baz = Sema.Matchers[1]; 152 const MockSema::MatcherInfo Foo = Sema.Matchers[2];
|
/external/hamcrest/library/src/org/hamcrest/ |
Matchers.java | 4 public class Matchers { 70 * Evaluates to true only if ALL of the passed in matchers evaluate to true. 72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { 73 return org.hamcrest.core.AllOf.allOf(matchers); 77 * Evaluates to true only if ALL of the passed in matchers evaluate to true. 79 public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> matchers) { 80 return org.hamcrest.core.AllOf.allOf(matchers); 84 * Evaluates to true if ANY of the passed in matchers evaluate to true. 86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) { 87 return org.hamcrest.core.AnyOf.anyOf(matchers); [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
ConversationFragmentTest.java | 42 import org.mockito.Matchers; 87 Mockito.when(mockDraftMessageData.isBound(Matchers.anyString())) 89 Mockito.when(mockConversationData.isBound(Matchers.anyString())) 95 Matchers.any(Activity.class), 96 Matchers.any(ConversationDataListener.class), 97 Matchers.anyString()))
|
ComposeMessageViewTest.java | 43 import org.mockito.Matchers; 104 Mockito.when(mockDraftMessageData.isBound(Matchers.anyString())) 108 Matchers.<BindingBase<DraftMessageData>>any())) 130 Mockito.verify(mockDraftMessageData).loadFromStorage(Matchers.any(BindingBase.class), 131 Matchers.any(MessageData.class), Mockito.eq(false)); 158 Mockito.when(mockDraftMessageData.isBound(Matchers.anyString())) 162 Matchers.<BindingBase<DraftMessageData>>any())) 173 Mockito.verify(mockDraftMessageData).loadFromStorage(Matchers.any(BindingBase.class), 174 Matchers.any(MessageData.class), Mockito.eq(false)); 182 Matchers.any(Boolean.class), Matchers.any(Runnable.class)) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
WebViewUpdateServiceTest.java | 36 import org.mockito.Matchers; 285 Matchers.anyObject()); 302 Matchers.anyObject()); 447 Matchers.anyObject(), Mockito.eq(fallbackPackage)); 450 Matchers.anyObject(), Matchers.anyObject()); 464 Matchers.anyObject(), Mockito.eq(fallbackPackage)); 468 Matchers.anyObject(), Matchers.anyObject()); 493 Matchers.anyObject(), Matchers.anyObject()) [all...] |
/external/clang/lib/ASTMatchers/Dynamic/ |
VariantValue.cpp | 65 // Abort if any of the inner matchers can't be converted to 114 : Matchers(std::move(MatchersIn)) {} 119 if (Matchers.size() != 1) 121 return Matchers[0]; 126 for (size_t i = 0, e = Matchers.size(); i != e; ++i) { 129 Inner += Matchers[i].getSupportedKind().asStringRef(); 139 for (size_t i = 0, e = Matchers.size(); i != e; ++i) { 141 if (Ops.canConstructFrom(Matchers[i], IsExactMatch)) { 148 Found = &Matchers[i]; 162 for (const DynTypedMatcher &Matcher : Matchers) { [all...] |
Marshallers.h | 111 /// Returns whether the matcher is variadic. Variadic matchers can take any 131 /// Such matchers are excluded from code completion results. 210 /// \brief Helper methods to extract and merge all possible typed matchers 238 std::vector<DynTypedMatcher> Matchers; 239 mergePolyMatchers(PolyMatcher, Matchers, typename T::ReturnTypes()); 240 VariantMatcher Out = VariantMatcher::PolymorphicMatcher(std::move(Matchers));
|
/external/guice/core/src/com/google/inject/matcher/ |
Matchers.java | 34 public class Matchers { 35 private Matchers() {}
|
/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...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockKeyStore.java | 3 import static org.mockito.Matchers.anyInt; 4 import static org.mockito.Matchers.anyString; 11 import org.mockito.Matchers; 39 when(mock.put(anyString(), Matchers.any(byte[].class), anyInt(), anyInt())) 50 when(mock.importKey(anyString(), Matchers.any(byte[].class), anyInt(), anyInt()))
|
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
CallLogBackupAgentTest.java | 32 import org.mockito.Matchers; 177 verify(mBackupDataOutput).writeEntityHeader(eq("101"), Matchers.anyInt()); 178 verify(mBackupDataOutput).writeEntityData((byte[]) Matchers.any(), Matchers.anyInt()); 192 inOrder.verify(mBackupDataOutput).writeEntityHeader(eq("101"), Matchers.anyInt()); 194 writeEntityData((byte[]) Matchers.any(), Matchers.anyInt()); 195 inOrder.verify(mBackupDataOutput).writeEntityHeader(eq("102"), Matchers.anyInt()); 197 writeEntityData((byte[]) Matchers.any(), Matchers.anyInt()) [all...] |
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 292 // matchers. 296 MatchASTVisitor(const MatchFinder::MatchersByType *Matchers, 298 : Matchers(Matchers), Options(Options), ActiveASTContext(nullptr) {} 309 for (MatchCallback *MC : Matchers->AllCallbacks) { 319 for (MatchCallback *MC : Matchers->AllCallbacks) { 457 // Matches all registered matchers on the given node and calls the 517 /// \brief Runs all the \p Matchers on \p Node. 521 void matchWithoutFilter(const T &Node, const MC &Matchers) { 524 for (const auto &MP : Matchers) { [all...] |
/external/guice/core/test/com/google/inject/ |
TypeConversionTest.java | 25 import com.google.inject.matcher.Matchers; 256 convertToTypes(Matchers.only(TypeLiteral.get(Date.class)) , mockTypeConverter(result)); 275 convertToTypes(Matchers.only(TypeLiteral.get(Date.class)), failingTypeConverter()); 325 convertToTypes(Matchers.only(TypeLiteral.get(Date.class)), mockTypeConverter(null)); 351 convertToTypes(Matchers.only(TypeLiteral.get(Date.class)), mockTypeConverter(-1)); 390 convertToTypes(Matchers.only(TypeLiteral.get(Date.class)), converter); 417 convertToTypes(Matchers.only(TypeLiteral.get(Date.class)), mockTypeConverter(new Date())); 423 convertToTypes(Matchers.only(TypeLiteral.get(Date.class)), mockTypeConverter(new Date()));
|
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.1/ |
hamcrest-library-1.1.jar | |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
sisu-guice-3.1.3-no_aop.jar | |
/prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/ |
sisu-guice-3.1.0-no_aop.jar | |
sisu-guice-3.1.0.jar | |
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/ |
hamcrest-library-1.3.jar | |
/external/testng/lib-supplied/ |
guice-2.0.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/sisu/sisu-guice/2.1.7/ |
sisu-guice-2.1.7-noaop.jar | |
/prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/ |
sisu-guice-2.1.7-noaop.jar | |