Home
last modified time | relevance | path

Searched refs:loadClass (Results 1 – 25 of 93) sorted by relevance

1234

/external/mockito/src/test/java/org/mockitoutil/
DClassLoadersTest.java26 cl.loadClass("org.mockito.Mockito"); in isolated_class_loader_cannot_load_classes_when_no_given_prefix()
40 cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_cannot_load_classes_if_no_code_source_path()
58 cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_cannot_load_classes_if_dependent_classes_do_not_match_the_prefixes()
76 Class<?> aClass = cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes()
93 Class<?> aClass = cl.loadClass(AClass.class.getName()); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation()
112 cl.loadClass(AClass.class.getName()); in isolated_class_loader_cannot_load_classes_if_prefix_excluded()
140 cl.loadClass("org.mockito.Mockito"); in excluding_class_loader_cannot_load_classes_when_no_correct_source_url_set()
153 cl.loadClass("org.mockito.Mockito"); in excluding_class_loader_can_load_classes_when_correct_source_url_set()
166 cl.loadClass("org.mockito.Mockito"); in excluding_class_loader_cannot_load_class_when_excluded_prefix_match_class_to_load()
170 cl.loadClass("org.mockito.BDDMockito"); in excluding_class_loader_cannot_load_class_when_excluded_prefix_match_class_to_load()
[all …]
DSimplePerRealmReloadingClassLoader.java57 public Class<?> loadClass(String qualifiedClassName) throws ClassNotFoundException { in loadClass() method in SimplePerRealmReloadingClassLoader
78 return super.loadClass(qualifiedName); in useParentClassLoaderFor()
86 … Object instance = this.loadClass(callableCalledInClassLoaderRealm).getConstructor().newInstance(); in doInRealm()
102 …Object instance = this.loadClass(callableCalledInClassLoaderRealm).getConstructor(argTypes).newIns… in doInRealm()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DTypeCachingMockBytecodeGeneratorTest.java37 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_is_cleared_if_no_reference_to_classloader_and_classes()
65 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_same_instance()
71 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_same_instance()
102 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_different_instance_serializableMode()
108 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_different_instance_serializableMode()
124 … new HoldingAReference(new WeakReference<Class<?>>(short_lived_classloader.loadClass("foo.Bar")))); in validate_simple_code_idea_where_weakhashmap_with_classloader_as_key_get_GCed_when_no_more_references()
/external/guice/core/test/com/googlecode/guice/
DBytecodeGenTest.java129 protected Class<?> loadClass(final String name, final boolean resolve) in loadClass() method in BytecodeGenTest.TestVisibilityClassLoader
143 return super.loadClass(name, resolve); in loadClass()
164 return super.loadClass(name, resolve); in loadClass()
178 proxyTestClass = (Class<ProxyTest>) testClassLoader.loadClass(ProxyTest.class.getName()); in setUp()
179 realClass = (Class<ProxyTestImpl>) testClassLoader.loadClass(ProxyTestImpl.class.getName()); in setUp()
310 Class hiddenMethodReturnClass = testClassLoader.loadClass(HiddenMethodReturn.class.getName()); in testClassLoaderBridging()
311 …Class hiddenMethodParameterClass = testClassLoader.loadClass(HiddenMethodParameter.class.getName()… in testClassLoaderBridging()
315 Class hiddenClass = testClassLoader.loadClass(Hidden.class.getName()); in testClassLoaderBridging()
/external/guava/guava-tests/test/com/google/common/base/
DFinalizableReferenceQueueClassLoaderUnloadingTest.java91 Class<?> sepFrqC = sepLoader.loadClass(frqC.getName()); in useFrqInSeparateLoader()
102 sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName()); in useFrqInSeparateLoader()
110 Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName()); in useFrqInSeparateLoader()
113 Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName()); in useFrqInSeparateLoader()
210 Class<?> sepFrqC = sepLoader.loadClass(frqC.getName()); in doTestUnloadableInStaticFieldIfClosed()
214 sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName()); in doTestUnloadableInStaticFieldIfClosed()
220 Class<?> sepFrqUserC = sepLoader.loadClass(frqUserC.getName()); in doTestUnloadableInStaticFieldIfClosed()
DFinalizableReferenceQueueTest.java134 protected synchronized Class<?> loadClass(String name, boolean resolve) in loadClass() method in FinalizableReferenceQueueTest.DecoupledClassLoader
145 return super.loadClass(name, resolve); in loadClass()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DRobolectricClassLoader.java53 public Class loadClass(String name) throws ClassNotFoundException { in loadClass() method in RobolectricClassLoader
59 theClass = super.loadClass(name); in loadClass()
61 theClass = getParent().loadClass(name); in loadClass()
71 return loadClass(testClassName); in bootstrap()
DShadowWrangler.java131 public static Class<?> loadClass(String paramType, ClassLoader classLoader) { in loadClass() method in ShadowWrangler
144 clazz = classLoader.loadClass(paramType); in loadClass()
170 Class<?> shadowClass = loadClass(shadowClassName, instance.getClass().getClassLoader()); in shadowFor()
223 return loadClass(declaredShadowClassName, classLoader); in findShadowClass()
337 Class<?> originalClass = loadClass(clazz.getName(), classLoader); in prepare()
397 paramClasses[i] = loadClass(paramTypes[i], classLoader); in getParamClasses()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/
DTargetLoader.java43 return loadClass(sourcename); in load()
80 protected synchronized Class<?> loadClass(String name, boolean resolve) in loadClass() method in TargetLoader
90 return super.loadClass(name, resolve); in loadClass()
DInstrumentingLoader.java52 protected synchronized Class<?> loadClass(String name, boolean resolve) in loadClass() method in InstrumentingLoader
74 return super.loadClass(name, resolve); in loadClass()
/external/javassist/src/main/javassist/util/proxy/
DSerializedProxy.java59 protected Class loadClass(final String className) throws ClassNotFoundException { in loadClass() method in SerializedProxy
78 infs[i] = loadClass(interfaces[i]);
81 f.setSuperclass(loadClass(superClass));
DProxyObjectInputStream.java69 Class superClass = loader.loadClass(name); in readClassDescriptor()
74 interfaces[i] = loader.loadClass(name); in readClassDescriptor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue318/
DContextClassLoaderTest.java107 yamlCL.loadClass(DomainBean.class.getName()); in expectNoDomainClassInYamlCL()
112 yamlCL.loadClass(Yaml.class.getName()); in yamlClassInYAMLCL()
120 Class<?> yamlClass = yamlCL.loadClass(Yaml.class.getName()); in domainInDifferentConstructor()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DPreferenceLoader.java143 Class<? extends Preference> clazz = loadClass(name); in pickViewClass()
145 clazz = loadClass("android.preference." + name); in pickViewClass()
153 private Class<? extends Preference> loadClass(String className) { in loadClass() method in PreferenceLoader.PreferenceNode
156 … return (Class<? extends Preference>) getClass().getClassLoader().loadClass(className); in loadClass()
DViewLoader.java280 private Class loadClass(String className) { in loadClass() method in ViewLoader.ViewNode
282 return getClass().getClassLoader().loadClass(className); in loadClass()
290 return loadClass(className); in loadViewClass()
295 return loadClass(className); in loadFragmentClass()
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java91 providerClass = cl.loadClass(className); in findProviderClass()
100 providerClass = cl.loadClass(className); in findProviderClass()
/external/mockito/src/test/java/org/mockito/internal/junit/
DExceptionFactoryTest.java23 …nonJunitArgumentsAreDifferent = classLoaderWithoutJUnit.loadClass(ArgumentsAreDifferent.class.getN… in init()
29 … Class<?> exceptionFactory = classLoaderWithoutJUnit.loadClass(ExceptionFactory.class.getName()); in createArgumentsAreDifferentException_withoutJUnit()
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DCoreTutorial.java77 protected Class<?> loadClass(final String name, final boolean resolve) in loadClass() method in CoreTutorial.MemoryClassLoader
83 return super.loadClass(name, resolve); in loadClass()
128 final Class<?> targetClass = memoryClassLoader.loadClass(targetName); in execute()
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DUtil.java44 return loadClass(className); in lenientClassForName()
50 return loadClass(newName); in lenientClassForName()
61 public static Class<?> loadClass(String className) throws ClassNotFoundException { in loadClass() method in Util
/external/javassist/src/main/javassist/bytecode/annotation/
DClassMemberValue.java85 return loadClass(cl, classname); in getValue()
89 return loadClass(cl, "java.lang.Class"); in getType()
/external/javassist/src/main/javassist/
DLoader.java288 Class c = loadClass(classname); in run()
302 protected Class loadClass(String name, boolean resolve) in loadClass() method in Loader
428 return cl.loadClass(classname); in delegateToParent()
/external/jsilver/src/org/clearsilver/
DFactoryLoader.java108 loadClass(factoryClassName, classLoader); in newDefaultClearsilverFactory()
119 private static Class<ClearsilverFactory> loadClass(String className, in loadClass() method in FactoryLoader
/external/emma/core/java12/com/vladium/util/
DResourceLoader.java33 public static Class loadClass (final String name) in loadClass() method in ResourceLoader
86 public static Class loadClass (final String name, final ClassLoader loader) in loadClass() method in ResourceLoader
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMockingMultipleInterfacesTest.java103 .loadClass("test.Interface1"); in should_mock_class_with_interfaces_of_different_class_loader_AND_different_classpaths()
107 .loadClass("test.Interface2"); in should_mock_class_with_interfaces_of_different_class_loader_AND_different_classpaths()
/external/eyes-free/AccessCheck/src/com/android/accessibility/
DAccessibilityValidationContentHandler.java119 potentialClass = sValidationClassLoader.loadClass(classPath); in startElement()
178 sValidationClassLoader.loadClass("android.widget.ImageView"); in setClassLoaderAndBaseClass()

1234