/external/mockito/src/test/java/org/mockitoutil/ |
D | ClassLoadersTest.java | 30 cl.loadClass("org.mockito.Mockito"); in isolated_class_loader_cannot_load_classes_when_no_given_prefix() 44 cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_cannot_load_classes_if_no_code_source_path() 62 cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_cannot_load_classes_if_dependent_classes_do_not_match_the_prefixes() 80 Class<?> aClass = cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes() 97 Class<?> aClass = cl.loadClass(AClass.class.getName()); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation() 116 cl.loadClass(AClass.class.getName()); in isolated_class_loader_cannot_load_classes_if_prefix_excluded() 144 cl.loadClass("org.mockito.Mockito"); in excluding_class_loader_cannot_load_classes_when_no_correct_source_url_set() 157 cl.loadClass("org.mockito.Mockito"); in excluding_class_loader_can_load_classes_when_correct_source_url_set() 170 cl.loadClass("org.mockito.Mockito"); in excluding_class_loader_cannot_load_class_when_excluded_prefix_match_class_to_load() 174 cl.loadClass("org.mockito.BDDMockito"); in excluding_class_loader_cannot_load_class_when_excluded_prefix_match_class_to_load() [all …]
|
D | SimplePerRealmReloadingClassLoader.java | 61 public Class<?> loadClass(String qualifiedClassName) throws ClassNotFoundException { in loadClass() method in SimplePerRealmReloadingClassLoader 82 return super.loadClass(qualifiedName); in useParentClassLoaderFor() 90 … Object instance = this.loadClass(callableCalledInClassLoaderRealm).getConstructor().newInstance(); in doInRealm() 106 …Object instance = this.loadClass(callableCalledInClassLoaderRealm).getConstructor(argTypes).newIns… in doInRealm()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | SandboxClassLoaderTest.java | 98 Class<?> clazz = loadClass(AFinalClass.class); in shouldMakeClassesNonFinal() 104 Constructor<?> defaultCtor = loadClass(AClassWithNoDefaultConstructor.class).getConstructor(); in forClassesWithNoDefaultConstructor_shouldCreateOneButItShouldNotCallShadow() 114 Class<?> clazz = loadClass(AClassWithNoDefaultConstructor.class); in shouldDelegateToHandlerForConstructors() 133 Class<?> exampleClass = classLoader.loadClass(AnExampleClass.class.getName()); in shouldDelegateClassLoadForUnacquiredClasses() 140 Class<?> exampleClass = classLoader.loadClass(AnUninstrumentedClass.class.getName()); in shouldPerformClassLoadForAcquiredClasses() 153 Class<?> exampleClass = classLoader.loadClass(AnExampleClass.class.getName()); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses() 171 Class<?> exampleClass = loadClass(AnExampleClass.class); in callingNormalMethodShouldInvokeClassHandler() 184 Class<?> exampleClass = loadClass(AnExampleClass.class); in shouldGenerateClassSpecificDirectAccessMethod() 196 Class<?> exampleClass = loadClass(AnExampleClass.class); in soMockitoDoesntExplodeDueToTooManyMethods_shouldGenerateClassSpecificDirectAccessMethodWhichIsPrivateAndFinal() 205 Class<?> exampleClass = loadClass(AClassWithStaticMethod.class); in callingStaticMethodShouldInvokeClassHandler() [all …]
|
/external/guice/core/test/com/googlecode/guice/ |
D | BytecodeGenTest.java | 120 protected Class<?> loadClass(final String name, final boolean resolve) in loadClass() method in BytecodeGenTest.TestVisibilityClassLoader 134 return super.loadClass(name, resolve); in loadClass() 155 return super.loadClass(name, resolve); in loadClass() 171 proxyTestClass = (Class<ProxyTest>) testClassLoader.loadClass(ProxyTest.class.getName()); in setUp() 172 realClass = (Class<ProxyTestImpl>) testClassLoader.loadClass(ProxyTestImpl.class.getName()); in setUp() 299 Class hiddenMethodReturnClass = testClassLoader.loadClass(HiddenMethodReturn.class.getName()); in testClassLoaderBridging() 301 testClassLoader.loadClass(HiddenMethodParameter.class.getName()); in testClassLoaderBridging() 305 Class hiddenClass = testClassLoader.loadClass(Hidden.class.getName()); in testClassLoaderBridging() 362 return loadClass(cls.getName()).asSubclass(LogCreator.class); in loadLogCreatorType() 371 protected Class<?> loadClass(final String name, final boolean resolve) in loadClass() method in BytecodeGenTest.MultipleVersionsOfGuiceClassLoader [all …]
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | TypeCachingMockBytecodeGeneratorTest.java | 41 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_is_cleared_if_no_reference_to_classloader_and_classes() 70 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_same_instance() 77 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_same_instance() 109 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_different_instance_serializableMode() 116 classloader_with_life_shorter_than_cache.loadClass("foo.Bar"), in ensure_cache_returns_different_instance_serializableMode() 133 … 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/apache-commons-bcel/src/main/java/org/apache/bcel/util/ |
D | ClassPathRepository.java | 79 public JavaClass loadClass(String className) throws ClassNotFoundException { in loadClass() method in ClassPathRepository 89 return loadClass(_path.getInputStream(className), className); in loadClass() 108 public JavaClass loadClass(final Class<?> clazz) throws ClassNotFoundException { in loadClass() method in ClassPathRepository 121 return cls = loadClass(clsStream, className); in loadClass() 127 …private JavaClass loadClass(final InputStream is, final String className) throws ClassNotFoundExce… in loadClass() method in ClassPathRepository
|
D | MemorySensitiveClassPathRepository.java | 85 public JavaClass loadClass(String className) throws ClassNotFoundException { in loadClass() method in MemorySensitiveClassPathRepository 95 return loadClass(_path.getInputStream(className), className); in loadClass() 114 public JavaClass loadClass(final Class<?> clazz) throws ClassNotFoundException { in loadClass() method in MemorySensitiveClassPathRepository 127 return cls = loadClass(clsStream, className); in loadClass() 134 …private JavaClass loadClass(final InputStream is, final String className) throws ClassNotFoundExce… in loadClass() method in MemorySensitiveClassPathRepository
|
D | ClassLoaderRepository.java | 82 public JavaClass loadClass(final String className) throws ClassNotFoundException { in loadClass() method in ClassLoaderRepository 103 public JavaClass loadClass( final Class<?> clazz ) throws ClassNotFoundException { in loadClass() method in ClassLoaderRepository 104 return loadClass(clazz.getName()); in loadClass()
|
D | Repository.java | 55 JavaClass loadClass( String className ) throws java.lang.ClassNotFoundException; in loadClass() method 61 JavaClass loadClass( Class<?> clazz ) throws java.lang.ClassNotFoundException; in loadClass() method
|
D | ClassLoader.java | 106 …protected Class<?> loadClass( final String class_name, final boolean resolve ) throws ClassNotFoun… in loadClass() method in ClassLoader 116 cl = getParent().loadClass(class_name); in loadClass() 127 if ((clazz = repository.loadClass(class_name)) != null) { in loadClass()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | FinalizableReferenceQueueClassLoaderUnloadingTest.java | 91 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()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | InvocationProfile.java | 14 this.clazz = loadClass(classLoader, methodSignature.className); in InvocationProfile() 28 classes[i] = ShadowWrangler.loadClass(paramType, classLoader); in getParamClasses() 33 private Class<?> loadClass(ClassLoader classLoader, String className) { in loadClass() method in InvocationProfile 35 return classLoader.loadClass(className); in loadClass()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | AndroidSandboxClassLoaderTest.java | 28 Class<?> versionClass = loadClass(Build.VERSION.class); in shouldMakeBuildVersionIntsNonFinal() 43 private Class<?> loadClass(Class<?> clazz) throws ClassNotFoundException { in loadClass() method in AndroidSandboxClassLoaderTest 44 return classLoader.loadClass(clazz.getName()); in loadClass()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
D | TargetLoader.java | 43 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()
|
/external/desugar/java/com/google/devtools/build/android/desugar/io/ |
D | ThrowingClassLoader.java | 19 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass() method in ThrowingClassLoader 23 return super.loadClass(name, resolve); in loadClass()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue318/ |
D | ContextClassLoaderTest.java | 107 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | ClassUtil.java | 8 public static Class loadClass(Class sourceClass, final String className) in loadClass() method in ClassUtil 16 return loader.loadClass(className); in loadClass()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | ClassUtil.java | 12 public static Class loadClass(Class sourceClass, final String className) in loadClass() method in ClassUtil 20 return loader.loadClass(className); in loadClass()
|
/external/guice/core/test/com/google/inject/ |
D | EagerSingletonTest.java | 155 public Class<?> loadClass(String name) throws ClassNotFoundException { in copyClass() 166 return super.loadClass(name); in copyClass() 168 }.loadClass(cls.getName()); in copyClass()
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ObjectFactory.java | 91 providerClass = cl.loadClass(className); in findProviderClass() 100 providerClass = cl.loadClass(className); in findProviderClass()
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
D | CoreTutorial.java | 77 protected Class<?> loadClass(final String name, final boolean resolve) in loadClass() method in CoreTutorial.MemoryClassLoader 83 return super.loadClass(name, resolve); in loadClass() 129 final Class<?> targetClass = memoryClassLoader.loadClass(targetName); in execute()
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | Util.java | 44 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/grpc-grpc-java/context/src/test/java/io/grpc/ |
D | StaticTestingClassLoader.java | 56 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass() method in StaticTestingClassLoader 68 klass = super.loadClass(name, false); in loadClass()
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/ |
D | MetricsTest.java | 41 public Class<?> loadClass(String name) { in loadMetricsComponent_UsesProvidedClassLoader() 52 public Class<?> loadClass(String name) throws ClassNotFoundException { in loadMetricsComponent_IgnoresMissingClasses()
|
/external/mockito/src/test/java/org/mockito/internal/junit/ |
D | ExceptionFactoryTest.java | 27 …nonJunitArgumentsAreDifferent = classLoaderWithoutJUnit.loadClass(ArgumentsAreDifferent.class.getN… in init() 33 … Class<?> exceptionFactory = classLoaderWithoutJUnit.loadClass(ExceptionFactory.class.getName()); in createArgumentsAreDifferentException_withoutJUnit()
|