Searched refs:aProvider (Results 1 – 10 of 10) sorted by relevance
102 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.H192 F provideF(Provider<A> aProvider) { in testSingletonBindingAnnotationAndProvider()193 a1.set(aProvider.get()); in testSingletonBindingAnnotationAndProvider()194 a2.set(aProvider.get()); in testSingletonBindingAnnotationAndProvider()
47 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()
63 public final Provider<A> aProvider; field in Cycles.C68 C(Provider<A> aProvider) { in C() argument69 this.aProvider = aProvider; in C()
155 Provider<A> aProvider = injector.getProvider(A.class); in testInstallingInjectionListener() local157 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();
758 public void inject(A a, Provider<A> aProvider) { in inject() argument760 this.provider = aProvider; in inject()
309 final SubMockRemoteProvider aProvider = new SubMockRemoteProvider(); in testThrowingProviderSubclassing() local310 aProvider.setNextToReturn("A"); in testThrowingProviderSubclassing()319 .to(aProvider); in testThrowingProviderSubclassing()
418 final SubMockRemoteProvider aProvider = new SubMockRemoteProvider(); in testThrowingProviderSubclassing() local419 aProvider.setNextToReturn(new SimpleFoo("A")); in testThrowingProviderSubclassing()428 .to(aProvider); in testThrowingProviderSubclassing()
374 final Provider<String> aProvider = in testBindToProvider() local404 bind(String.class).toProvider(aProvider); in testBindToProvider()421 assertSame(aProvider, binding.getUserSuppliedProvider()); in testBindToProvider()422 assertSame(aProvider, binding.getProviderInstance()); in testBindToProvider()
620 @Bind private Provider aProvider; in testMultipleErrorsAreAggregated()
1168 final Provider<String> aProvider = Providers.of("A"); in testModuleOverrideRepeatedInstalls_toProviderInstance() local1175 b.setDefault().toProvider(aProvider); in testModuleOverrideRepeatedInstalls_toProviderInstance()