Home
last modified time | relevance | path

Searched refs:aProvider (Results 1 – 10 of 10) sorted by relevance

/external/guice/extensions/mini/test/com/google/inject/mini/
DMiniGuiceTest.java102 assertNotNull(h.aProvider.get()); in testProviderInjection()
103 assertNotNull(h.aProvider.get()); in testProviderInjection()
104 assertNotSame(h.aProvider.get(), h.aProvider.get()); in testProviderInjection()
108 @Inject Provider<A> aProvider; field in MiniGuiceTest.H
192 F provideF(Provider<A> aProvider) { in testSingletonBindingAnnotationAndProvider()
193 a1.set(aProvider.get()); in testSingletonBindingAnnotationAndProvider()
194 a2.set(aProvider.get()); in testSingletonBindingAnnotationAndProvider()
/external/dagger2/javatests/dagger/functional/cycle/
DCycleTest.java47 assertThat(c.aProvider.get()).isNotNull(); in providerIndirectionCycle()
48 assertThat(a.b.c.aProvider.get()).isNotNull(); in providerIndirectionCycle()
49 assertThat(a.e.d.b.c.aProvider.get()).isNotNull(); in providerIndirectionCycle()
73 assertThat(a.b.c.aProvider.get()).isNotNull(); in subcomponentIndirectionCycle()
74 assertThat(a.e.d.b.c.aProvider.get()).isNotNull(); in subcomponentIndirectionCycle()
DCycles.java63 public final Provider<A> aProvider; field in Cycles.C
68 C(Provider<A> aProvider) { in C() argument
69 this.aProvider = aProvider; in C()
/external/guice/core/test/com/google/inject/
DTypeListenerTest.java155 Provider<A> aProvider = injector.getProvider(A.class); in testInstallingInjectionListener() local
157 A a3 = aProvider.get(); in testInstallingInjectionListener()
158 A a4 = aProvider.get(); in testInstallingInjectionListener()
399 Provider<A> aProvider = injector.getProvider(A.class);
404 aProvider.get();
405 aProvider.get();
DBinderTestSuite.java758 public void inject(A a, Provider<A> aProvider) { in inject() argument
760 this.provider = aProvider; in inject()
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DThrowingProviderTest.java309 final SubMockRemoteProvider aProvider = new SubMockRemoteProvider(); in testThrowingProviderSubclassing() local
310 aProvider.setNextToReturn("A"); in testThrowingProviderSubclassing()
319 .to(aProvider); in testThrowingProviderSubclassing()
DCheckedProviderTest.java418 final SubMockRemoteProvider aProvider = new SubMockRemoteProvider(); in testThrowingProviderSubclassing() local
419 aProvider.setNextToReturn(new SimpleFoo("A")); in testThrowingProviderSubclassing()
428 .to(aProvider); in testThrowingProviderSubclassing()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java374 final Provider<String> aProvider = in testBindToProvider() local
404 bind(String.class).toProvider(aProvider); in testBindToProvider()
421 assertSame(aProvider, binding.getUserSuppliedProvider()); in testBindToProvider()
422 assertSame(aProvider, binding.getProviderInstance()); in testBindToProvider()
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/
DBoundFieldModuleTest.java620 @Bind private Provider aProvider; in testMultipleErrorsAreAggregated()
/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java1168 final Provider<String> aProvider = Providers.of("A"); in testModuleOverrideRepeatedInstalls_toProviderInstance() local
1175 b.setDefault().toProvider(aProvider); in testModuleOverrideRepeatedInstalls_toProviderInstance()