Home
last modified time | relevance | path

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

/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMock.java133 Object mockedInterface = EasyMock.createStrictMock(name, getInterfaceFor(toMock)); in createStrictMock()
134 return (T) getSubclassFor(toMock, getInterfaceFor(toMock), mockedInterface, args); in createStrictMock()
187 Object mockedInterface = EasyMock.createMock(name, getInterfaceFor(toMock)); in createMock()
188 return (T) getSubclassFor(toMock, getInterfaceFor(toMock), mockedInterface, args); in createMock()
238 Object mockedInterface = EasyMock.createNiceMock(name, getInterfaceFor(toMock)); in createNiceMock()
239 return (T) getSubclassFor(toMock, getInterfaceFor(toMock), mockedInterface, args); in createNiceMock()
2690 private static <T> Class<T> getInterfaceFor(Class<T> clazz) { in getInterfaceFor() method in AndroidMock