Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java335 Injector parentInjector = in testWeakKeySet_integration() local
343 assertNotBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration()
346 parentInjector.createChildInjector( in testWeakKeySet_integration()
354 assertBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration()
359 assertNotBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration()
363 Injector parentInjector = in testWeakKeySet_integration_multipleChildren() local
371 assertNotBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration_multipleChildren()
372 assertNotBlacklisted(parentInjector, Key.get(Long.class)); in testWeakKeySet_integration_multipleChildren()
375 parentInjector.createChildInjector( in testWeakKeySet_integration_multipleChildren()
383 assertBlacklisted(parentInjector, Key.get(String.class)); in testWeakKeySet_integration_multipleChildren()
[all …]
DMapBinderTest.java1340 Injector parentInjector = in testWeakKeySet_integration_mapbinder() local
1348 WeakKeySetUtils.assertNotBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder()
1351 parentInjector.createChildInjector( in testWeakKeySet_integration_mapbinder()
1361 WeakKeySetUtils.assertBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder()
1367 WeakKeySetUtils.assertNotBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder()
DOptionalBinderTest.java1416 Injector parentInjector = in testWeakKeySet_integration() local
1424 WeakKeySetUtils.assertNotBlacklisted(parentInjector, Key.get(Integer.class)); in testWeakKeySet_integration()
1427 parentInjector.createChildInjector( in testWeakKeySet_integration()
1437 WeakKeySetUtils.assertBlacklisted(parentInjector, Key.get(Integer.class)); in testWeakKeySet_integration()
1443 WeakKeySetUtils.assertNotBlacklisted(parentInjector, Key.get(Integer.class)); in testWeakKeySet_integration()
/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/core/src/com/google/inject/internal/
DInternalInjectorCreator.java85 public InternalInjectorCreator parentInjector(InjectorImpl parent) { in parentInjector() method in InternalInjectorCreator
DInjectorImpl.java237 return new InternalInjectorCreator().parentInjector(this).addModules(modules).build(); in createChildInjector()