Searched refs:createMocksForClass (Results 1 – 7 of 7) sorted by relevance
141 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 …]
173 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 …]
91 List<GeneratedClassFile> classes = mockGenerator.createMocksForClass(Object.class, version); in testCreateMockForClass()137 List<GeneratedClassFile> createdMocks = mockGenerator.createMocksForClass( in testGetMocksForClass()
524 List<GeneratedClassFile> classes = mockGenerator.createMocksForClass(Object.class); in testCreateMockForClass()
90 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz, SdkVersion version) in createMocksForClass() method in AndroidFrameworkMockGenerator94 mocks.addAll(mockGenerator.createMocksForClass(clazz, version)); in createMocksForClass()143 classes.addAll(mockGenerator.createMocksForClass(clazz, version)); in generateMocks()
86 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz) in createMocksForClass() method in AndroidMockGenerator88 return this.createMocksForClass(clazz, SdkVersion.UNKNOWN); in createMocksForClass()91 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz, SdkVersion sdkVersion) in createMocksForClass() method in AndroidMockGenerator
175 mockedClassesSet.addAll(getAndroidMockGenerator().createMocksForClass(clazz)); in getClassMocks()