Searched refs:createNiceMock (Results 1 – 5 of 5) sorted by relevance
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | UsesMocksProcessorTest.java | 64 Element mockElement = EasyMock.createNiceMock(Element.class); in getMockElement() 74 AnnotationMirror mockMirror = EasyMock.createNiceMock(AnnotationMirror.class); in getMockAnnotationMirrors() 99 ExecutableElement mockElement = EasyMock.createNiceMock(ExecutableElement.class); in getMockExecutableElement() 151 ProcessingEnvironment mockEnvironment = EasyMock.createNiceMock(ProcessingEnvironment.class); 171 Messager mockMessager = EasyMock.createNiceMock(Messager.class); 186 Filer mockFiler = EasyMock.createNiceMock(Filer.class); 203 JavaFileObject mockFileObject = EasyMock.createNiceMock(JavaFileObject.class); 216 RoundEnvironment mockEnv = EasyMock.createNiceMock(RoundEnvironment.class);
|
D | AndroidMockTest.java | 276 Vector<String> mockVector = AndroidMock.createNiceMock(Vector.class); in testCreateNiceMock() 289 SimpleTimeZone mockTimeZone = AndroidMock.createNiceMock(SimpleTimeZone.class, "GMT"); in testCreateNiceMockUsingUnusableParameters() 295 SimpleTimeZone mockTimeZone = AndroidMock.createNiceMock(SimpleTimeZone.class, 0, null); in testCreateNiceMockUsingUnusableParameters() 302 AndroidMock.createNiceMock(SimpleTimeZone.class, 0, new Object()); in testCreateNiceMockUsingUnusableParameters() 315 SimpleTimeZone mockTimeZone = AndroidMock.createNiceMock(SimpleTimeZone.class, 0, "GMT"); in testCreateNiceMockUsingParameters() 328 SimpleTimeZone mockTimeZone = AndroidMock.createNiceMock(SimpleTimeZone.class, 'a', "GMT"); in testCreateNiceMockUsingCastableParameters() 341 Map<String, String> mockMap = AndroidMock.createNiceMock(Map.class); in testCreateNiceMockUsingInterface() 354 Vector<String> mockVector = AndroidMock.createNiceMock(Vector.class); in testCreateNiceMockUsingClass()
|
/external/easymock/src/org/easymock/ |
D | EasyMockSupport.java | 112 public <T> T createNiceMock(Class<T> toMock) { in createNiceMock() method in EasyMockSupport 133 public <T> T createNiceMock(String name, Class<T> toMock) { in createNiceMock() method in EasyMockSupport
|
D | EasyMock.java | 118 public static <T> T createNiceMock(Class<T> toMock) { in createNiceMock() method in EasyMock 136 public static <T> T createNiceMock(String name, Class<T> toMock) { in createNiceMock() method in EasyMock
|
/external/android-mock/src/com/google/android/testing/mocking/ |
D | AndroidMock.java | 209 public static <T> T createNiceMock(Class<T> toMock, Object... args) { in createNiceMock() method in AndroidMock 210 return createNiceMock(null, toMock, args); in createNiceMock() 234 public static <T> T createNiceMock(String name, Class<T> toMock, Object... args) { in createNiceMock() method in AndroidMock 236 return EasyMock.createNiceMock(name, toMock); in createNiceMock() 238 Object mockedInterface = EasyMock.createNiceMock(name, getInterfaceFor(toMock)); in createNiceMock()
|