/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/javassist/src/test/javassist/ |
D | LoaderTestByRandall.java | 33 Class clazz = loader.loadClass(name); in testLoadGoodClass() 39 Class clazz = loader.loadClass("java.lang.String"); in testLoadGoodClassByDelegation() 44 Class clazz = loader.loadClass("never.going.to.find.Class"); in testLoadBadClass() 53 Class clazz = loader.loadClass("java.never.going.to.find.Class"); in testLoadBadClassByDelegation() 87 Class clazz = loader.loadClass(classname); in testLoadBadCodeModification()
|
/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
|
/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/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractFutureCancellationCauseTest.java | 56 public Class<?> loadClass(String name) throws ClassNotFoundException { in setUp() 69 return super.loadClass(name); in setUp() 74 abstractFutureClass = classReloader.loadClass(AbstractFuture.class.getName()); in setUp() 75 settableFutureClass = classReloader.loadClass(SettableFuture.class.getName()); in setUp() 151 future.getClass().getClassLoader().loadClass(ListenableFuture.class.getName())) in testSetFuture_misbehavingFutureDoesNotThrow()
|
D | AggregateFutureStateFallbackAtomicHelperTest.java | 97 Class<?> test = classLoader.loadClass(FuturesTest.class.getName()); in runTestMethod() 107 Class<?> abstractFutureClass = classLoader.loadClass(AggregateFutureState.class.getName()); in checkHelperVersion() 119 public Class<?> loadClass(String name) throws ClassNotFoundException { in getClassLoader() 130 return super.loadClass(name); in getClassLoader()
|
D | AbstractFutureFallbackAtomicHelperTest.java | 109 Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName()); in runTestMethod() 116 Class<?> abstractFutureClass = classLoader.loadClass(AbstractFuture.class.getName()); in checkHelperVersion() 128 public Class<?> loadClass(String name) throws ClassNotFoundException { in getClassLoader() 139 return super.loadClass(name); in getClassLoader()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractFutureCancellationCauseTest.java | 56 public Class<?> loadClass(String name) throws ClassNotFoundException { in setUp() 69 return super.loadClass(name); in setUp() 74 abstractFutureClass = classReloader.loadClass(AbstractFuture.class.getName()); in setUp() 75 settableFutureClass = classReloader.loadClass(SettableFuture.class.getName()); in setUp() 151 future.getClass().getClassLoader().loadClass(ListenableFuture.class.getName())) in testSetFuture_misbehavingFutureDoesNotThrow()
|
D | AggregateFutureStateFallbackAtomicHelperTest.java | 97 Class<?> test = classLoader.loadClass(FuturesTest.class.getName()); in runTestMethod() 107 Class<?> abstractFutureClass = classLoader.loadClass(AggregateFutureState.class.getName()); in checkHelperVersion() 119 public Class<?> loadClass(String name) throws ClassNotFoundException { in getClassLoader() 130 return super.loadClass(name); in getClassLoader()
|
D | AbstractFutureFallbackAtomicHelperTest.java | 109 Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName()); in runTestMethod() 116 Class<?> abstractFutureClass = classLoader.loadClass(AbstractFuture.class.getName()); in checkHelperVersion() 128 public Class<?> loadClass(String name) throws ClassNotFoundException { in getClassLoader() 139 return super.loadClass(name); in getClassLoader()
|
D | AbstractFutureInnocuousThreadTest.java | 53 public Class<?> loadClass(String name) throws ClassNotFoundException { in setUp() 66 return super.loadClass(name); in setUp() 90 settableFutureClass = classReloader.loadClass(SettableFuture.class.getName()); in setUp()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | FinalizableReferenceQueueClassLoaderUnloadingTest.java | 95 Class<?> sepFrqC = sepLoader.loadClass(frqC.getName()); in useFrqInSeparateLoader() 106 sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName()); in useFrqInSeparateLoader() 114 Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName()); in useFrqInSeparateLoader() 117 Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName()); in useFrqInSeparateLoader() 229 Class<?> sepFrqC = sepLoader.loadClass(frqC.getName()); in doTestUnloadableInStaticFieldIfClosed() 233 sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName()); in doTestUnloadableInStaticFieldIfClosed() 239 Class<?> sepFrqUserC = sepLoader.loadClass(frqUserC.getName()); in doTestUnloadableInStaticFieldIfClosed()
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | FinalizableReferenceQueueClassLoaderUnloadingTest.java | 95 Class<?> sepFrqC = sepLoader.loadClass(frqC.getName()); in useFrqInSeparateLoader() 106 sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName()); in useFrqInSeparateLoader() 114 Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName()); in useFrqInSeparateLoader() 117 Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName()); in useFrqInSeparateLoader() 229 Class<?> sepFrqC = sepLoader.loadClass(frqC.getName()); in doTestUnloadableInStaticFieldIfClosed() 233 sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName()); in doTestUnloadableInStaticFieldIfClosed() 239 Class<?> sepFrqUserC = sepLoader.loadClass(frqUserC.getName()); in doTestUnloadableInStaticFieldIfClosed()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | AndroidSandboxClassLoaderTest.java | 29 Class<?> versionClass = loadClass(Build.VERSION.class); in shouldMakeBuildVersionIntsNonFinal() 44 private Class<?> loadClass(Class<?> clazz) throws ClassNotFoundException { in loadClass() method in AndroidSandboxClassLoaderTest 45 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/javassist/src/main/javassist/util/proxy/ |
D | SerializedProxy.java | 65 protected Class<?> loadClass(final String className) throws ClassNotFoundException { in loadClass() method in SerializedProxy 85 infs[i] = loadClass(interfaces[i]); 88 f.setSuperclass(loadClass(superClass));
|
/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()
|