HomeSort by relevance Sort by last modified time
    Searched refs:anyInt (Results 1 - 7 of 7) sorted by null

  /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() {
  /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...]
  /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...]
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 

Completed in 535 milliseconds