Home
last modified time | relevance | path

Searched refs:parentInjector (Results 1 – 7 of 7) sorted by relevance

/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java337 Injector parentInjector = Guice.createInjector(new AbstractModule() { in testWeakKeySet_integration() local
342 assertNotBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration()
344 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration()
350 assertBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration()
355 assertNotBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration()
359 Injector parentInjector = Guice.createInjector(new AbstractModule() { in testWeakKeySet_integration_multipleChildren() local
364 assertNotBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration_multipleChildren()
365 assertNotBlacklisted(parentInjector, Key.get(Long.class)); in testWeakKeySet_integration_multipleChildren()
367 Injector childInjector1 = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_multipleChildren()
373 assertBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration_multipleChildren()
[all …]
/external/testng/src/main/java/org/testng/
DTestRunner.java1623 Injector parentInjector = ((ClassImpl)iClass).getParentInjector(); in getInjector()
1626 …List<Module> moduleInstances = Lists.newArrayList(getModules(guice, parentInjector, iClass.getReal… in getInjector()
1631 injector = parentInjector.createChildInjector(moduleInstances); in getInjector()
1637 private Module[] getModules(Guice guice, Injector parentInjector, Class<?> testClass) { in getModules() argument
1644 Module instance = parentInjector.getInstance(moduleClass); in getModules()
1651 IModuleFactory factoryInstance = parentInjector.getInstance(factory); in getModules()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMapBinderTest.java1009 Injector parentInjector = Guice.createInjector(new AbstractModule() { in testWeakKeySet_integration_mapbinder() local
1014 WeakKeySetUtils.assertNotBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder()
1016 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_mapbinder()
1024 WeakKeySetUtils.assertBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder()
1030 WeakKeySetUtils.assertNotBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder()
DOptionalBinderTest.java1189 Injector parentInjector = Guice.createInjector(new AbstractModule() { in testWeakKeySet_integration() local
1194 WeakKeySetUtils.assertNotBlacklisted(parentInjector, Key.get(Integer.class)); in testWeakKeySet_integration()
1196 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration()
1202 WeakKeySetUtils.assertBlacklisted(parentInjector, Key.get(Integer.class)); in testWeakKeySet_integration()
1208 WeakKeySetUtils.assertNotBlacklisted(parentInjector, Key.get(Integer.class)); in testWeakKeySet_integration()
/external/guice/core/src/com/google/inject/internal/
DInternalInjectorCreator.java86 public InternalInjectorCreator parentInjector(InjectorImpl parent) { in parentInjector() method in InternalInjectorCreator
DInjectorImpl.java227 .parentInjector(this) in createChildInjector()
/external/testng/lib-supplied/
Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...