/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
EditTextTest.java | 6 import static org.mockito.Matchers.anyInt; 82 when(attrs.getAttributeIntValue(eq("android"), eq("maxLength"), anyInt())).thenReturn(maxLength);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
SSLSessionCacheTest.java | 48 LittleMock.verify(mock).getSessionData(LittleMock.anyString(), LittleMock.anyInt());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
ConnectivityServiceTest.java | 24 import static org.mockito.Matchers.anyInt; 127 // .when(mNetFactory).createTracker(anyInt(), isA(NetworkConfig.class));
|
NetworkPolicyManagerServiceTest.java | 39 import static org.easymock.EasyMock.anyInt; [all...] |
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminActivationTest.java | 179 Mockito.anyInt(),
|
/external/littlemock/tests/com/google/testing/littlemock/ |
LittleMockTest.java | 24 import static com.google.testing.littlemock.LittleMock.anyInt; 689 verify(mFoo).findByInt(anyInt()); 700 doReturn("b").when(mFoo).findByInt(anyInt()); 840 verify(mFoo, atLeastOnce()).get(anyInt()); 848 verify(mFoo, atLeastOnce()).get(anyInt()); 912 anyInt(); [all...] |
/external/mockito/src/org/mockito/ |
Matchers.java | 24 * //stubbing using anyInt() argument matcher
25 * when(mockedList.get(anyInt())).thenReturn("element");
31 * verify(mockedList).get(anyInt());
41 * verify(mock).someMethod(anyInt(), anyString(), <b>eq("third argument")</b>);
44 * verify(mock).someMethod(anyInt(), anyString(), <b>"third argument"</b>);
165 public static int anyInt() {
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 29 import static org.mockito.Matchers.anyInt; 621 verify(mNotifManager, never()).notify(anyString(), anyInt(), isA(Notification.class)); 633 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); 645 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraDeviceTest.java | 124 anyInt()); 311 anyInt()); 757 anyInt()); [all...] |
/external/easymock/src/org/easymock/ |
EasyMock.java | 243 public static int anyInt() {
[all...] |
/prebuilts/tools/common/m2/repository/org/easymock/easymock/2.4/ |
easymock-2.4.jar | |
/external/littlemock/src/com/google/testing/littlemock/ |
LittleMock.java | 60 * doReturn("hello").when(mockFoo).aString(anyInt()); // Stub the mock to return "hello". 72 * verify(mockFoo, times(3)).aString(anyInt()); // This will fail, was called once only. 283 public static int anyInt() { return addMatcher(new MatchAnything(), 0); } 513 * <p>In order to support the syntax like this: verify(mFoo).someMethod(anyInt()), it is 514 * required that the anyInt() method store the value somewhere for use when the someMethod [all...] |
/prebuilts/tools/common/easymock-tools/ |
easymock-3.1.jar | |
/prebuilts/tools/common/m2/repository/org/easymock/easymock/3.1/ |
easymock-3.1.jar | |
/external/robolectric/lib/test/ |
mockito-core-1.8.5.jar | |
/external/dexmaker/lib/ |
mockito-core-1.9.1-SNAPSHOT.jar | |
/prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/ |
mockito-all-1.9.5.jar | |
/prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/ |
mockito-core-1.9.5.jar | |