Searched refs:parentInjector (Results 1 – 7 of 7) sorted by relevance
337 Injector parentInjector = Guice.createInjector(new AbstractModule() { in testWeakKeySet_integration() local342 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() local364 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 …]
1623 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() argument1644 Module instance = parentInjector.getInstance(moduleClass); in getModules()1651 IModuleFactory factoryInstance = parentInjector.getInstance(factory); in getModules()
1009 Injector parentInjector = Guice.createInjector(new AbstractModule() { in testWeakKeySet_integration_mapbinder() local1014 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()
1189 Injector parentInjector = Guice.createInjector(new AbstractModule() { in testWeakKeySet_integration() local1194 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()
86 public InternalInjectorCreator parentInjector(InjectorImpl parent) { in parentInjector() method in InternalInjectorCreator
227 .parentInjector(this) in createChildInjector()
META-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...