Home
last modified time | relevance | path

Searched refs:fooBinding (Results 1 – 2 of 2) sorted by relevance

/external/guice/core/test/com/google/inject/
DReflectionTest.java44 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); in testNormalBinding() local
45 assertSame(foo, fooBinding.getProvider().get()); in testNormalBinding()
46 ElementSource source = (ElementSource) fooBinding.getSource(); in testNormalBinding()
48 assertEquals(Key.get(Foo.class), fooBinding.getKey()); in testNormalBinding()
75 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); in testLinkedBinding() local
76 assertSame(bar, fooBinding.getProvider().get()); in testLinkedBinding()
77 ElementSource source = (ElementSource) fooBinding.getSource(); in testLinkedBinding()
79 assertEquals(Key.get(Foo.class), fooBinding.getKey()); in testLinkedBinding()
/external/guice/core/test/com/google/inject/spi/
DModuleAnnotatedMethodScannerTest.java69 Binding<String> fooBinding = injector.getBinding(Key.get(String.class, named("foo-munged"))); in testScanning() local
73 fooBinding.getProvider().toString()); in testScanning()
168 Binding<?> fooBinding = injector.getBinding(Key.get(clazz, named(originalName + "-munged")));
169 assertEquals(expectedValue, fooBinding.getProvider().get());