Home
last modified time | relevance | path

Searched refs:createStrictMock (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DFlushablesTest.java19 import static org.easymock.EasyMock.createStrictMock;
76 mockFlushable = createStrictMock(Flushable.class); in setUp()
DCloseablesTest.java19 import static org.easymock.EasyMock.createStrictMock;
106 mockCloseable = createStrictMock(Closeable.class); in setUp()
/external/easymock/src/org/easymock/
DEasyMockSupport.java42 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
DEasyMock.java54 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/
DAndroidMock.java102 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/
DAndroidMockTest.java367 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/
DLazyMessageLiteTest.java309 LazyInnerMessageLite.PARSER = EasyMock.createStrictMock(Parser.class); in testLaziness()