Searched refs:ConstantModule (Results 1 - 1 of 1) sorted by relevance

/external/guice/core/test/com/google/inject/
H A DBinderTest.java303 install(new ConstantModule("foo"));
308 install(new ConstantModule("bar"));
311 static class ConstantModule extends AbstractModule { class in class:BinderTest
313 ConstantModule(String constant) { method in class:BinderTest.ConstantModule
330 "1) A binding to java.lang.String was already configured at " + ConstantModule.class.getName(),
331 asModuleChain(ParentModule.class, FooModule.class, ConstantModule.class),
332 "at " + ConstantModule.class.getName(), getDeclaringSourcePart(getClass()),
333 asModuleChain(ParentModule.class, BarModule.class, ConstantModule.class));

Completed in 153 milliseconds