Searched refs:mockedType (Results 1 – 9 of 9) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | MockFeatures.java | 13 final Class<T> mockedType; field in MockFeatures 17 …private MockFeatures(Class<T> mockedType, Set<Class<?>> interfaces, SerializableMode serializableM… in MockFeatures() argument 18 this.mockedType = mockedType; in MockFeatures() 23 …public static <T> MockFeatures<T> withMockFeatures(Class<T> mockedType, Set<Class<?>> interfaces, … in withMockFeatures() argument 24 return new MockFeatures<T>(mockedType, interfaces, serializableMode); in withMockFeatures()
|
D | InlineBytecodeGenerator.java | 91 || Modifier.isAbstract(features.mockedType.getModifiers()); in mockClass() 101 features.mockedType; in mockClass() 106 Class<?> type = features.mockedType; in triggerRetransformation() 128 && !features.mockedType.isArray() in checkSupportedCombination() 129 && !features.mockedType.isPrimitive() in checkSupportedCombination() 130 && Modifier.isFinal(features.mockedType.getModifiers())) { in checkSupportedCombination() 131 …ew MockitoException("Unsupported settings with this type '" + features.mockedType.getName() + "'"); in checkSupportedCombination()
|
D | SubclassBytecodeGenerator.java | 67 byteBuddy.subclass(features.mockedType) in mockClass() 68 .name(nameFor(features.mockedType)) in mockClass() 70 .annotateType(features.mockedType.getAnnotations()) in mockClass() 96 .append(features.mockedType) in mockClass() 103 loader.getStrategy(features.mockedType)) in mockClass()
|
D | SubclassInjectionLoader.java | 8 public ClassLoadingStrategy<ClassLoader> getStrategy(Class<?> mockedType) { in getStrategy() argument 9 return ClassLoadingStrategy.Default.INJECTION.with(mockedType.getProtectionDomain()); in getStrategy()
|
D | TypeCachingBytecodeGenerator.java | 31 ClassLoader classLoader = params.mockedType.getClassLoader(); in mockClass() 33 … new SerializationFeatureKey(params.mockedType, params.interfaces, params.serializableMode), in mockClass()
|
D | SubclassLoader.java | 7 ClassLoadingStrategy<ClassLoader> getStrategy(Class<?> mockedType); in getStrategy() argument
|
D | ByteBuddyCrossClassLoaderSerializationSupport.java | 118 … String mockedType = MockUtil.getMockSettings(mockitoMock).getTypeToMock().getCanonicalName(); in writeReplace() 120 "The mock '" + mockName + "' of type '" + mockedType + "'", in writeReplace()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 583 …ockitoException mockedTypeIsInconsistentWithSpiedInstanceType(Class<?> mockedType, Object spiedIns… in mockedTypeIsInconsistentWithSpiedInstanceType() argument 586 … must be: " + spiedInstance.getClass().getSimpleName() + ", but is: " + mockedType.getSimpleName(), in mockedTypeIsInconsistentWithSpiedInstanceType() 696 …toException mockedTypeIsInconsistentWithDelegatedInstanceType(Class<?> mockedType, Object delegate… in mockedTypeIsInconsistentWithDelegatedInstanceType() argument 699 …t be: " + delegatedInstance.getClass().getSimpleName() + ", but is: " + mockedType.getSimpleName(), in mockedTypeIsInconsistentWithDelegatedInstanceType()
|
/external/robolectric/v1/lib/test/ |
D | mockito-core-1.8.5.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/mockito/
org/ ... |