Home
last modified time | relevance | path

Searched refs:FooProvider (Results 1 – 4 of 4) sorted by relevance

/external/guice/core/test/com/google/inject/
DBoundProviderTest.java30 bind(Foo.class).toProvider(FooProvider.class); in testFooProvider()
76 static class FooProvider implements Provider<Foo> { class in BoundProviderTest
82 public FooProvider(Bar bar) { in FooProvider() method in BoundProviderTest.FooProvider
DJitBindingsTest.java195 bind(Foo.class).toProvider(FooProvider.class); in testLinkedProviderBindingWorks()
625 bind(Foo.class).toProvider(FooProvider.class); in testJitProviderBindingInParentFails()
632 assertContains(expected.getMessage(), jitInParentFailed(FooProvider.class)); in testJitProviderBindingInParentFails()
805 private static class FooProvider implements Provider<Foo> { class in JitBindingsTest
DDuplicateBindingsTest.java46 private Class<? extends Provider<? extends Foo>> pclFoo = FooProvider.class;
65 assertTrue(bindings.remove(Key.get(FooProvider.class))); // JIT binding in testDuplicateBindingsAreIgnored()
632 private static class FooProvider implements Provider<Foo> { class in DuplicateBindingsTest
DBindingTest.java100 .toProvider(FooProvider.class); in configure()
112 public static class FooProvider implements Provider<Foo> { class in BindingTest