Home
last modified time | relevance | path

Searched refs:getAllBindings (Results 1 – 12 of 12) sorted by relevance

/external/guice/core/test/com/google/inject/spi/
DInjectorSpiTest.java30 for(Map.Entry<Key<?>, Binding<?>> entry : injector.getAllBindings().entrySet()) { in testExistingBinding()
44 assertTrue(injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Foo>>() {}))); in testExistingBinding()
57 …assertFalse(injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Baz>>() {}))); … in testExistingBinding()
/external/guice/core/test/com/google/inject/
DJitBindingsTest.java359 int totalParentBindings = parent.getAllBindings().size(); in testChildInjectorAddsOption()
374 assertEquals(totalParentBindings, parent.getAllBindings().size()); in testChildInjectorAddsOption()
384 assertEquals(totalParentBindings, parent.getAllBindings().size()); in testChildInjectorAddsOption()
393 assertEquals(totalParentBindings, parent.getAllBindings().size()); in testChildInjectorAddsOption()
DBindingTest.java399 Map<Key<?>,Binding<?>> bindings = injector.getAllBindings(); in testGetAllBindings()
407 Map<Key<?>,Binding<?>> bindings2 = injector.getAllBindings(); in testGetAllBindings()
427 injector.getAllBindings(); in testGetAllServletBindings()
DBinderTest.java373 injector.getAllBindings(); // just validate it doesn't throw. in testJitDependencyDoesntBlockOtherExplicitBindings()
DDuplicateBindingsTest.java57 List<Key<?>> bindings = Lists.newArrayList(injector.getAllBindings().keySet()); in testDuplicateBindingsAreIgnored()
/external/guice/core/src/com/google/inject/internal/
DInternalInjectorCreator.java252 public Map<Key<?>, Binding<?>> getAllBindings() { in getAllBindings() method in InternalInjectorCreator.ToolStageInjector
253 return this.delegateInjector.getAllBindings(); in getAllBindings()
DInjectorImpl.java897 public Map<Key<?>, Binding<?>> getAllBindings() {
/external/guice/core/src/com/google/inject/
DInjector.java121 Map<Key<?>, Binding<?>> getAllBindings(); in getAllBindings() method
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletModuleTest.java55 for(Binding<?> binding : injector.getAllBindings().values()) { in testServletModuleReuse()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java190 for(Binding b : injector.getAllBindings().values()) { in mapInjectorTest()
487 for(Binding b : injector.getAllBindings().values()) { in setInjectorTest()
744 for (Binding b : injector.getAllBindings().values()) { in optionalInjectorTest()
DMultibinderTest.java904 for (Entry<Key<?>, Binding<?>> entry : injector.getAllBindings().entrySet()) { in testKeyHashCodesFixedAtInjectionTime()
DOptionalBinderTest.java1115 for (Entry<Key<?>, Binding<?>> entry : injector.getAllBindings().entrySet()) { in testKeyHashCodesFixedAtInjectionTime()