Searched refs:createStrictMock (Results 1 – 7 of 7) sorted by relevance
/external/guava/guava-tests/test/com/google/common/io/ |
D | FlushablesTest.java | 19 import static org.easymock.EasyMock.createStrictMock; 76 mockFlushable = createStrictMock(Flushable.class); in setUp()
|
D | CloseablesTest.java | 19 import static org.easymock.EasyMock.createStrictMock; 106 mockCloseable = createStrictMock(Closeable.class); in setUp()
|
/external/easymock/src/org/easymock/ |
D | EasyMockSupport.java | 42 public <T> T createStrictMock(Class<T> toMock) { in createStrictMock() method in EasyMockSupport 61 public <T> T createStrictMock(String name, Class<T> toMock) { in createStrictMock() method in EasyMockSupport
|
D | EasyMock.java | 54 public static <T> T createStrictMock(Class<T> toMock) { in createStrictMock() method in EasyMock 70 public static <T> T createStrictMock(String name, Class<T> toMock) { in createStrictMock() method in EasyMock
|
/external/android-mock/src/com/google/android/testing/mocking/ |
D | AndroidMock.java | 102 public static <T> T createStrictMock(Class<T> toMock, Object... args) { in createStrictMock() method in AndroidMock 103 return createStrictMock(null, toMock, args); in createStrictMock() 129 public static <T> T createStrictMock(String name, Class<T> toMock, Object... args) { in createStrictMock() method in AndroidMock 131 return EasyMock.createStrictMock(name, toMock); in createStrictMock() 133 Object mockedInterface = EasyMock.createStrictMock(name, getInterfaceFor(toMock)); in createStrictMock()
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | AndroidMockTest.java | 367 Vector<String> mockVector = AndroidMock.createStrictMock(Vector.class); in testCreateStrictMock() 381 SimpleTimeZone mockTimeZone = AndroidMock.createStrictMock(SimpleTimeZone.class, "GMT"); in testCreateStrictMockUsingUnusableParameters() 387 SimpleTimeZone mockTimeZone = AndroidMock.createStrictMock(SimpleTimeZone.class, 0, null); in testCreateStrictMockUsingUnusableParameters() 394 AndroidMock.createStrictMock(SimpleTimeZone.class, 0, new Object()); in testCreateStrictMockUsingUnusableParameters() 407 SimpleTimeZone mockTimeZone = AndroidMock.createStrictMock(SimpleTimeZone.class, 0, "GMT"); in testCreateStrictMockUsingParameters() 420 SimpleTimeZone mockTimeZone = AndroidMock.createStrictMock(SimpleTimeZone.class, 'a', "GMT"); in testCreateStrictMockUsingCastableParameters() 433 Map<String, String> mockMap = AndroidMock.createStrictMock(Map.class); in testCreateStrictMockUsingInterface() 445 Vector<String> mockVector = AndroidMock.createStrictMock(Vector.class); in testCreateStrictMockUsingClass()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | LazyMessageLiteTest.java | 309 LazyInnerMessageLite.PARSER = EasyMock.createStrictMock(Parser.class); in testLaziness()
|