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

  /external/easymock/src/org/easymock/
IMocksControl.java 29 <T> T createMock(Class<T> toMock);
39 <T> T createMock(String name, Class<T> toMock);
EasyMockSupport.java 43 return createStrictControl().createMock(toMock);
62 return createStrictControl().createMock(name, toMock);
76 public <T> T createMock(Class<T> toMock) {
77 return createControl().createMock(toMock);
96 public <T> T createMock(String name, Class<T> toMock) {
97 return createControl().createMock(name, toMock);
113 return createNiceControl().createMock(toMock);
134 return createNiceControl().createMock(name, toMock);
EasyMock.java 55 return createStrictControl().createMock(toMock);
71 return createStrictControl().createMock(name, toMock);
85 public static <T> T createMock(Class<T> toMock) {
86 return createControl().createMock(toMock);
102 public static <T> T createMock(String name, Class<T> toMock) {
103 return createControl().createMock(name, toMock);
119 return createNiceControl().createMock(toMock);
137 return createNiceControl().createMock(name, toMock);
    [all...]
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
JarHostTestTest.java 76 ITestInvocationListener listener = EasyMock.createMock(ITestInvocationListener.class);
86 mJarTest.setDevice(EasyMock.createMock(ITestDevice.class));
  /external/easymock/src/org/easymock/internal/
MocksControl.java 47 public <T> T createMock(Class<T> toMock) {
58 public <T> T createMock(String name, Class<T> toMock) {
  /external/android-mock/src/com/google/android/testing/mocking/
AndroidMock.java 50 * mockObject = AndroidMock.createMock(MyClass.class);
147 * {@literal createMock(MyObject.class, 42, "hello!")},
156 public static <T> T createMock(Class<T> toMock, Object... args) {
157 return createMock(null, toMock, args);
170 * {@literal createMock("NameMyMock", MyObject.class, 42, "hello!")},
183 public static <T> T createMock(String name, Class<T> toMock, Object... args) {
185 return EasyMock.createMock(name, toMock);
187 Object mockedInterface = EasyMock.createMock(name, getInterfaceFor(toMock));
    [all...]
  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidMockTest.java 64 "com.google.android.testing.mocking.AndroidMock.createMock("
66 "com.google.android.testing.mocking.AndroidMock.createMock("
175 Vector<String> mockVector = AndroidMock.createMock(Vector.class);
187 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 0, "GMT");
199 Calendar mockCalendar = AndroidMock.createMock(Calendar.class);
207 AndroidMock.createMock(Calendar.class, new SimpleTimeZone(1, "GMT"), Locale.UK);
215 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 'a', "GMT");
228 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, "GMT");
234 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 0, null);
240 SimpleTimeZone mockTimeZone = AndroidMock.createMock(SimpleTimeZone.class, 0, new Object())
    [all...]

Completed in 87 milliseconds