HomeSort by relevance Sort by last modified time
    Searched refs:fooBinding (Results 1 - 2 of 2) sorted by null

  /external/guice/core/test/com/google/inject/
ReflectionTest.java 44 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class));
45 assertSame(foo, fooBinding.getProvider().get());
46 ElementSource source = (ElementSource) fooBinding.getSource();
48 assertEquals(Key.get(Foo.class), fooBinding.getKey());
75 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class));
76 assertSame(bar, fooBinding.getProvider().get());
77 ElementSource source = (ElementSource) fooBinding.getSource();
79 assertEquals(Key.get(Foo.class), fooBinding.getKey());
  /external/guice/core/test/com/google/inject/spi/
ModuleAnnotatedMethodScannerTest.java 69 Binding<String> fooBinding = injector.getBinding(Key.get(String.class, named("foo-munged")));
73 fooBinding.getProvider().toString());
168 Binding<?> fooBinding = injector.getBinding(Key.get(clazz, named(originalName + "-munged")));
169 assertEquals(expectedValue, fooBinding.getProvider().get());

Completed in 177 milliseconds