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()
81 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); in testLinkedBinding() local
82 assertSame(bar, fooBinding.getProvider().get()); in testLinkedBinding()
83 ElementSource source = (ElementSource) fooBinding.getSource(); in testLinkedBinding()
85 assertEquals(Key.get(Foo.class), fooBinding.getKey()); in testLinkedBinding()
/external/guice/core/test/com/google/inject/spi/
DModuleAnnotatedMethodScannerTest.java71 Binding<String> fooBinding = injector.getBinding(Key.get(String.class, named("foo-munged"))); in testScanning() local
75 methodName(TestProvides.class, "foo", module), fooBinding.getProvider().toString()); in testScanning()
197 Binding<?> fooBinding = injector.getBinding(Key.get(clazz, named(originalName + "-munged")));
198 assertEquals(expectedValue, fooBinding.getProvider().get());