Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DOptionalBindingTest.java68 bind(HasOptionalInjections.class).toInstance(new HasOptionalInjections());
76 bind(HasOptionalInjections.class).toProvider(new HasOptionalInjectionsProvider());
84 bind(HasOptionalInjections.class).toProvider(HasOptionalInjectionsProvider.class);
90 .getInstance(HasOptionalInjections.class) in testEverythingInjectorGetInstance()
96 .getInstance(HasOptionalInjections.class) in testPartialInjectorGetInstance()
101 Guice.createInjector().getInstance(HasOptionalInjections.class).assertNothingInjected(); in testNothingInjectorGetInstance()
105 HasOptionalInjections instance = new HasOptionalInjections(); in testEverythingInjectorInjectMembers()
111 HasOptionalInjections instance = new HasOptionalInjections(); in testPartialInjectorInjectMembers()
117 HasOptionalInjections instance = new HasOptionalInjections(); in testNothingInjectorInjectMembers()
124 .getInstance(HasOptionalInjections.class) in testEverythingInjectorToInstance()
[all …]