Home
last modified time | relevance | path

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

/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java135 MapBinderBinding<T> mapbinder = (MapBinderBinding<T>)mapBinding.acceptTargetVisitor(visitor); in mapInjectorTest() local
136 assertNotNull(mapbinder); in mapInjectorTest()
137 assertEquals(keyType, mapbinder.getKeyTypeLiteral()); in mapInjectorTest()
138 assertEquals(valueType, mapbinder.getValueTypeLiteral()); in mapInjectorTest()
139 assertEquals(allowDuplicates, mapbinder.permitsDuplicates()); in mapInjectorTest()
140 List<Map.Entry<?, Binding<?>>> entries = Lists.newArrayList(mapbinder.getEntries()); in mapInjectorTest()
159 mapbinder.containsElement(found.getValue())); in mapInjectorTest()
191 boolean contains = mapbinder.containsElement(b); in mapInjectorTest()
194 if(visited.equals(mapbinder)) { in mapInjectorTest()
264 MapBinderBinding<T> mapbinder = null; in mapModuleTest() local
[all …]
DMapBinderTest.java411 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local
413 mapbinder.addBinding("a").to(String.class); in testExhaustiveDuplicateErrorMessage()
418 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local
420 mapbinder.addBinding("a").to(Integer.class); in testExhaustiveDuplicateErrorMessage()
421 mapbinder.addBinding("b").to(String.class); in testExhaustiveDuplicateErrorMessage()
426 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local
428 mapbinder.addBinding("b").to(Integer.class); in testExhaustiveDuplicateErrorMessage()
798 MapBinder<String, String> mapbinder = in testDeduplicateMapBindings()
800 mapbinder.addBinding("a").toInstance("A"); in testDeduplicateMapBindings()
801 mapbinder.addBinding("a").toInstance("A"); in testDeduplicateMapBindings()
[all …]