Home
last modified time | relevance | path

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

/external/android-mock/tests/com/google/android/testing/mocking/
DClassTypeTests.java141 getAndroidMockGenerator().createMocksForClass(Object.class); in testClassIsDuplicate()
143 getAndroidMockGenerator().createMocksForClass(Object.class); in testClassIsDuplicate()
160 mockGenerator.createMocksForClass(ClassHasDelegateMethods.class); in testClassHasDelegateMethods()
174 mockGenerator.createMocksForClass(ClassHasFinalMethods.class); in testClassHasFinalMethods()
183 mockGenerator.createMocksForClass(ClassHasNoDefaultConstructor.class); in testClassHasNoDefaultConstructor()
191 mockGenerator.createMocksForClass(ClassHasNoPublicConstructors.class); in testClassHasNoPublicConstructors()
203 mockGenerator.createMocksForClass(ClassHasOverloadedMethods.class); in testClassHasOverloadedMethods()
217 mockGenerator.createMocksForClass(ClassHasStaticMethods.class); in testClassHasStaticMethods()
225 List<GeneratedClassFile> classes = mockGenerator.createMocksForClass(ClassIsAnnotation.class); in testClassIsAnnotation()
231 List<GeneratedClassFile> classes = mockGenerator.createMocksForClass(ClassIsEnum.class); in testClassIsEnum()
[all …]
DAndroidMockTest.java173 new AndroidMockGenerator().createMocksForClass(Vector.class); in testCreateMock()
185 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateMockUsingParameters()
197 new AndroidMockGenerator().createMocksForClass(Calendar.class); in testCreateMockUsingProtectedConstructors()
213 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateMockUsingCastableParameters()
225 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateMockUsingUnusableParameters()
250 new AndroidMockGenerator().createMocksForClass(Map.class); in testCreateMockUsingInterface()
262 new AndroidMockGenerator().createMocksForClass(Vector.class); in testCreateMockUsingClass()
274 new AndroidMockGenerator().createMocksForClass(Vector.class); in testCreateNiceMock()
286 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateNiceMockUsingUnusableParameters()
312 new AndroidMockGenerator().createMocksForClass(SimpleTimeZone.class); in testCreateNiceMockUsingParameters()
[all …]
DAndroidFrameworkMockGeneratorTest.java91 List<GeneratedClassFile> classes = mockGenerator.createMocksForClass(Object.class, version); in testCreateMockForClass()
137 List<GeneratedClassFile> createdMocks = mockGenerator.createMocksForClass( in testGetMocksForClass()
DAndroidMockGeneratorTest.java524 List<GeneratedClassFile> classes = mockGenerator.createMocksForClass(Object.class); in testCreateMockForClass()
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidFrameworkMockGenerator.java90 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz, SdkVersion version) in createMocksForClass() method in AndroidFrameworkMockGenerator
94 mocks.addAll(mockGenerator.createMocksForClass(clazz, version)); in createMocksForClass()
143 classes.addAll(mockGenerator.createMocksForClass(clazz, version)); in generateMocks()
DAndroidMockGenerator.java86 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz) in createMocksForClass() method in AndroidMockGenerator
88 return this.createMocksForClass(clazz, SdkVersion.UNKNOWN); in createMocksForClass()
91 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz, SdkVersion sdkVersion) in createMocksForClass() method in AndroidMockGenerator
DUsesMocksProcessor.java175 mockedClassesSet.addAll(getAndroidMockGenerator().createMocksForClass(clazz)); in getClassMocks()