HomeSort by relevance Sort by last modified time
    Searched refs:mockGenerator (Results 1 - 5 of 5) sorted by null

  /external/android-mock/tests/com/google/android/testing/mocking/
ClassTypeTests.java 158 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
160 mockGenerator.createMocksForClass(ClassHasDelegateMethods.class);
172 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
174 mockGenerator.createMocksForClass(ClassHasFinalMethods.class);
181 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
183 mockGenerator.createMocksForClass(ClassHasNoDefaultConstructor.class);
189 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
191 mockGenerator.createMocksForClass(ClassHasNoPublicConstructors.class);
201 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
203 mockGenerator.createMocksForClass(ClassHasOverloadedMethods.class)
    [all...]
AndroidMockGeneratorTest.java 417 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
418 CtClass generatedInterface = mockGenerator.generateInterface(String.class, SdkVersion.UNKNOWN);
429 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
430 CtClass generatedInterface = mockGenerator.generateInterface(Number.class, SdkVersion.UNKNOWN);
432 mockGenerator.generateSkeletalClass(Number.class, generatedInterface, SdkVersion.UNKNOWN);
434 mockGenerator.addMethods(Number.class, generatedClass);
443 AndroidMockGenerator mockGenerator = getAndroidMockGenerator();
444 CtClass generatedInterface = mockGenerator.generateInterface(Object.class, SdkVersion.UNKNOWN);
446 mockGenerator.generateSkeletalClass(Object.class, generatedInterface, SdkVersion.UNKNOWN);
448 mockGenerator.addMethods(Object.class, generatedClass)
    [all...]
AndroidFrameworkMockGeneratorTest.java 89 AndroidFrameworkMockGenerator mockGenerator = getMockGenerator();
91 List<GeneratedClassFile> classes = mockGenerator.createMocksForClass(Object.class, version);
135 AndroidFrameworkMockGenerator mockGenerator = getMockGenerator();
137 List<GeneratedClassFile> createdMocks = mockGenerator.createMocksForClass(
145 List<GeneratedClassFile> mocks = mockGenerator.getMocksForClass(Vector.class);
  /external/android-mock/src/com/google/android/testing/mocking/
AndroidFrameworkMockGenerator.java 92 AndroidMockGenerator mockGenerator = new AndroidMockGenerator();
94 mocks.addAll(mockGenerator.createMocksForClass(clazz, version));
139 AndroidFrameworkMockGenerator mockGenerator = new AndroidFrameworkMockGenerator();
140 List<Class<?>> classList = mockGenerator.getClassList(jar);
143 classes.addAll(mockGenerator.createMocksForClass(clazz, version));
UsesMocksProcessor.java 61 private AndroidMockGenerator mockGenerator = new AndroidMockGenerator();
238 return mockGenerator;

Completed in 114 milliseconds