Home
last modified time | relevance | path

Searched refs:SimplePerRealmReloadingClassLoader (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/configuration/
DClassCacheVersusClassReloadingTest.java10 import org.mockitoutil.SimplePerRealmReloadingClassLoader;
19 …private SimplePerRealmReloadingClassLoader testMethodClassLoaderRealm = new SimplePerRealmReloadin…
37 …new SimplePerRealmReloadingClassLoader(parentRealm, reloadScope()).doInRealm(callableCalledInClass… in doInNewChildRealm()
40 private static SimplePerRealmReloadingClassLoader.ReloadClassPredicate reloadScope() { in reloadScope()
41 return new SimplePerRealmReloadingClassLoader.ReloadClassPredicate() { in reloadScope()
61 private static SimplePerRealmReloadingClassLoader.ReloadClassPredicate reloadMockito() {
62 return new SimplePerRealmReloadingClassLoader.ReloadClassPredicate() {
/external/mockito/src/test/java/org/mockitousage/serialization/
DAcrossClassLoaderSerializationTest.java13 import org.mockitoutil.SimplePerRealmReloadingClassLoader;
39 …return new SimplePerRealmReloadingClassLoader(this.getClass().getClassLoader(), isolating_test_cla… in read_stream_and_deserialize_it_in_class_loader_B()
48 …return (byte[]) new SimplePerRealmReloadingClassLoader(this.getClass().getClassLoader(), isolating… in create_mock_and_serialize_it_in_class_loader_A()
53 private SimplePerRealmReloadingClassLoader.ReloadClassPredicate isolating_test_classes() { in isolating_test_classes()
54 return new SimplePerRealmReloadingClassLoader.ReloadClassPredicate() { in isolating_test_classes()
/external/mockito/src/test/java/org/mockitoutil/
DSimplePerRealmReloadingClassLoader.java15 public class SimplePerRealmReloadingClassLoader extends URLClassLoader { class
20 public SimplePerRealmReloadingClassLoader(ReloadClassPredicate reloadClassPredicate) { in SimplePerRealmReloadingClassLoader() method in SimplePerRealmReloadingClassLoader
25 …public SimplePerRealmReloadingClassLoader(ClassLoader parentClassLoader, ReloadClassPredicate relo… in SimplePerRealmReloadingClassLoader() method in SimplePerRealmReloadingClassLoader
39 String className = SimplePerRealmReloadingClassLoader.class.getName(); in obtainClassPath()
45 …String url = SimplePerRealmReloadingClassLoader.class.getClassLoader().getResource(path).toExterna… in obtainClassPath()