/external/guice/core/test/com/google/inject/ |
SerializationTest.java | 47 Guice.createInjector(new AbstractModule() {
|
BinderTest.java | 75 Guice.createInjector(new Module() { 92 Guice.createInjector(new AbstractModule() { 129 Guice.createInjector(new AbstractModule() { 150 Guice.createInjector(new AbstractModule() { 165 Guice.createInjector(new AbstractModule() { 180 Guice.createInjector(new AbstractModule() { 197 Guice.createInjector(new AbstractModule() { 222 Guice.createInjector(new AbstractModule() { 251 Injector injector = Guice.createInjector(new AbstractModule() { 267 Guice.createInjector(new AbstractModule() [all...] |
TypeConversionTest.java | 77 Injector injector = Guice.createInjector(new AbstractModule() { 93 Injector injector = Guice.createInjector(new AbstractModule() { 124 Injector injector = Guice.createInjector(new AbstractModule() { 175 Injector injector = Guice.createInjector(new OuterErrorModule()); 195 Injector injector = Guice.createInjector(new AbstractModule() { 216 Injector injector = Guice.createInjector(new AbstractModule() { 237 Injector injector = Guice.createInjector(new AbstractModule() { 254 Injector injector = Guice.createInjector(new AbstractModule() { 284 Guice.createInjector(module); 331 Guice.createInjector(new OuterModule(new ConverterNullModule())) [all...] |
ProvisionExceptionsTest.java | 36 Injector injector = Guice.createInjector(new AbstractModule() { 58 Injector injector = Guice.createInjector(new AbstractModule() { 80 Injector injector = Guice.createInjector(new AbstractModule() { 105 Injector injector = Guice.createInjector(new AbstractModule() { 128 Injector injector = Guice.createInjector(new AbstractModule() {
|
DuplicateBindingsTest.java | 53 Injector injector = Guice.createInjector( 84 Guice.createInjector(new FailingProviderModule(), new FailingProviderModule()); 96 Guice.createInjector( 101 Guice.createInjector( 108 Guice.createInjector( 115 Guice.createInjector( 122 Guice.createInjector( 130 Guice.createInjector( 158 Guice.createInjector( 179 Guice.createInjector(new ThrowingModule(), new ThrowingModule()) [all...] |
PrivateModuleTest.java | 44 Injector injector = Guice.createInjector(new AbstractModule() { 78 Injector injector = Guice.createInjector(new AbstractModule() { 98 Guice.createInjector(new AbstractModule() { 116 Guice.createInjector(new AbstractModule() { 130 Injector injector = Guice.createInjector(new AbstractModule() { 179 Guice.createInjector(new AbstractModule() { 206 Guice.createInjector(new AbstractModule() { 232 Guice.createInjector( 258 Injector injector = Guice.createInjector(new PrivateModule() { 275 Injector injector = Guice.createInjector(new PrivateModule() [all...] |
ModulesTest.java | 34 Injector injector = Guice.createInjector(combined); 42 Injector injector = Guice.createInjector(Modules.combine(modules)); 61 Injector injector = Guice.createInjector(combined2);
|
BindingTest.java | 57 Guice.createInjector(new AbstractModule() { 111 Guice.createInjector(new AbstractModule() { 127 Injector injector = Guice.createInjector(new AbstractModule() { 196 assertNotNull(Guice.createInjector().getInstance(clazz)); 201 Guice.createInjector().getInstance(clazz); 212 Guice.createInjector().getInstance(TooManyConstructors.class); 230 Injector injector = Guice.createInjector(new AbstractModule() { 245 Injector injector = Guice.createInjector(new AbstractModule() { 267 Guice.createInjector(new AbstractModule() { 293 Injector injector = Guice.createInjector(new AbstractModule() [all...] |
/external/guice/core/test/com/google/inject/example/ |
JndiProviderClient.java | 33 Injector injector = Guice.createInjector(new AbstractModule() {
|
/external/guice/core/test/com/google/inject/spi/ |
ModuleAnnotatedMethodScannerTest.java | 63 Injector injector = Guice.createInjector(module, NamedMunger.module()); 88 Injector injector = Guice.createInjector(module, NamedMunger.module()); 102 Injector injector = Guice.createInjector(module, NamedMunger.module()); 115 Guice.createInjector(module, NamedMunger.module()); 174 Guice.createInjector(new SomeModule(), FailingScanner.module()); 218 Injector parent = Guice.createInjector(NamedMunger.module()); 238 Injector parent = Guice.createInjector(); 249 Injector injector = Guice.createInjector(NamedMunger.module(), new PrivateModule() { 260 Injector injector = Guice.createInjector(NamedMunger.module(), new PrivateModule() { 274 Injector injector = Guice.createInjector(NamedMunger.module(), new AbstractModule() [all...] |
ToolStageInjectorTest.java | 30 Injector injector = Guice.createInjector(Stage.TOOL); 64 Guice.createInjector(Stage.TOOL, new AbstractModule() { 79 Guice.createInjector(Stage.TOOL, new AbstractModule() { 95 Guice.createInjector(Stage.TOOL, new AbstractModule() { 113 Guice.createInjector(Stage.TOOL, new AbstractModule() {
|
ProviderMethodsTest.java | 73 Injector injector = Guice.createInjector(this); 151 // Injector injector = Guice.createInjector(new Module() { 202 Guice.createInjector(new AbstractModule() { 223 Injector injector = Guice.createInjector( 262 Injector injector = Guice.createInjector((Module) new AbstractModule() { 292 Injector injector = Guice.createInjector(installsSelf); 300 Injector injector = Guice.createInjector(new AbstractModule() { 336 Injector injector = Guice.createInjector(module); 362 Injector injector = Guice.createInjector(module); 384 Guice.createInjector(new AbstractModule() [all...] |
HasDependenciesTest.java | 41 Injector injector = Guice.createInjector(new AbstractModule() { 53 Injector injector = Guice.createInjector(new AbstractModule() { 65 Injector injector = Guice.createInjector(new AbstractModule() {
|
ModuleRewriterTest.java | 75 Injector injector = Guice.createInjector(rewrittenModule); 105 Injector injector = Guice.createInjector(module); 111 Injector replayedInjector = Guice.createInjector(replayed);
|
/external/guice/examples/src/example/xml/ |
Main.java | 33 Injector injector = Guice.createInjector(new AbstractModule() {
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
ManyConstructorsTest.java | 33 Injector injector = Guice.createInjector(new AbstractModule() { 49 Injector injector = Guice.createInjector(new AbstractModule() { 68 Injector injector = Guice.createInjector(new AbstractModule() { 86 Injector injector = Guice.createInjector(new AbstractModule() { 97 injector = Guice.createInjector(new AbstractModule() { 111 Guice.createInjector(new AbstractModule() { 129 Guice.createInjector(new AbstractModule() { 145 Guice.createInjector(new AbstractModule() { 230 Injector injector = Guice.createInjector(new AbstractModule() {
|
FactoryModuleBuilderTest.java | 57 Guice.createInjector(new AbstractModule() { 77 Guice.createInjector(new AbstractModule() { 97 Injector injector = Guice.createInjector(new AbstractModule() { 113 Guice.createInjector(new AbstractModule() { 136 Guice.createInjector(new AbstractModule() { 159 Injector injector = Guice.createInjector(new AbstractModule() { 175 Injector injector = Guice.createInjector(new AbstractModule() { 194 Injector injector = Guice.createInjector(new AbstractModule() { 210 Injector injector = Guice.createInjector(new AbstractModule() { 225 Injector injector = Guice.createInjector(new AbstractModule() [all...] |
FactoryProvider2Test.java | 51 Injector injector = Guice.createInjector(new AbstractModule() { 71 Injector injector = Guice.createInjector(new AbstractModule() { 134 Injector injector = Guice.createInjector(new AbstractModule() { 170 Injector injector = Guice.createInjector(new AbstractModule() { 192 Injector injector = Guice.createInjector(new AbstractModule() { 229 Injector injector = Guice.createInjector(new AbstractModule() { 256 Injector injector = Guice.createInjector(new AbstractModule() { 289 Injector injector = Guice.createInjector(new AbstractModule() { 321 Injector injector = Guice.createInjector(new AbstractModule() { 357 Injector injector = Guice.createInjector(new AbstractModule() [all...] |
/external/guice/extensions/dagger-adapter/test/com/google/inject/daggeradapter/ |
DaggerAdapterTest.java | 49 Injector i = Guice.createInjector(DaggerAdapter.from(new SimpleDaggerModule())); 61 Injector i = Guice.createInjector( 80 Injector i = Guice.createInjector( 94 Injector i = Guice.createInjector(
|
/external/guice/extensions/persist/test/com/google/inject/persist/ |
EdslTest.java | 17 Guice.createInjector(Stage.PRODUCTION, new AbstractModule() {
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
CheckedProviderTest.java | 98 bindInjector = Guice.createInjector(new AbstractModule() { 116 providesInjector = Guice.createInjector(new AbstractModule() { 140 cxtorInjector = Guice.createInjector(new AbstractModule() { 302 bindInjector = Guice.createInjector(new AbstractModule() { 321 providesInjector = Guice.createInjector(new AbstractModule() { 355 cxtorInjector = Guice.createInjector(new AbstractModule() { 416 bindInjector = Guice.createInjector(new AbstractModule() { 433 Guice.createInjector(new AbstractModule() { 450 Guice.createInjector(new AbstractModule() { 471 bindInjector = Guice.createInjector(new AbstractModule() [all...] |
ThrowingProviderTest.java | 67 private Injector bindInjector = Guice.createInjector(new AbstractModule() { 82 private Injector providesInjector = Guice.createInjector(new AbstractModule() { 219 bindInjector = Guice.createInjector(new AbstractModule() { 237 providesInjector = Guice.createInjector(new AbstractModule() { 302 bindInjector = Guice.createInjector(new AbstractModule() { 318 Guice.createInjector(new AbstractModule() { 334 Guice.createInjector(new AbstractModule() { 354 bindInjector = Guice.createInjector(new AbstractModule() { 369 Guice.createInjector(new AbstractModule() { 391 bindInjector = Guice.createInjector(new AbstractModule() [all...] |
/external/guice/core/test/com/google/inject/util/ |
OverrideModuleTest.java | 21 import static com.google.inject.Guice.createInjector; 72 Injector injector = createInjector(Modules.override(newModule("A")).with(newModule("B"))); 79 Injector injector = createInjector(module); 87 Injector injector = createInjector(Modules.override(EMPTY_MODULE).with(newModule("B"))); 104 Injector injector = createInjector(Modules.override(original).with(replacements)); 116 Injector injector = createInjector(Modules.override(original).with(EMPTY_MODULE)); 131 Injector injector = createInjector(Modules.override(original).with(replacements)); 150 Injector injector = createInjector(Modules.override(original).with(replacements)); 180 Injector injector = createInjector(Modules.override(overrides).with(replacements2)); 202 createInjector(module) [all...] |
/external/guice/core/test/com/googlecode/guice/ |
BytecodeGenTest.java | 76 Injector injector = Guice.createInjector(new PackageVisibilityTestModule()); 81 Injector injector = Guice.createInjector(interceptorModule, new PackageVisibilityTestModule()); 86 Injector injector = Guice.createInjector(interceptorModule, new PackageVisibilityTestModule()); 211 Object testObject = Guice.createInjector(interceptorModule, testModule) 220 ProxyTest testProxy = Guice.createInjector(interceptorModule, new Module() { 234 Object testObject = Guice.createInjector(interceptorModule, testModule) 269 Injector injector = Guice.createInjector(interceptorModule); 313 Injector injector = Guice.createInjector(noopInterceptorModule);
|
/external/guice/core/test/com/google/inject/name/ |
NamesTest.java | 63 Injector injector = Guice.createInjector(new AbstractModule() { 77 Injector injector = Guice.createInjector(new AbstractModule() { 96 Injector injector = Guice.createInjector(new AbstractModule() {
|