Searched refs:multibinder (Results 1 – 4 of 4) sorted by relevance
/external/guice/core/test/com/google/inject/internal/ |
D | MultibinderTest.java | 107 Multibinder<String> multibinder = Multibinder.newSetBinder(binder(), String.class); in testMultibinderAggregatesMultipleModules() 108 multibinder.addBinding().toInstance("A"); in testMultibinderAggregatesMultipleModules() 109 multibinder.addBinding().toInstance("B"); in testMultibinderAggregatesMultipleModules() 110 multibinder.addBinding().toInstance("C"); in testMultibinderAggregatesMultipleModules() 117 Multibinder<String> multibinder = Multibinder.newSetBinder(binder(), String.class); in testMultibinderAggregatesMultipleModules() 118 multibinder.addBinding().toInstance("D"); in testMultibinderAggregatesMultipleModules() 119 multibinder.addBinding().toInstance("E"); in testMultibinderAggregatesMultipleModules() 148 Multibinder<String> multibinder = in testMultibinderAggregationForAnnotationInstance() 150 multibinder.addBinding().toInstance("A"); in testMultibinderAggregationForAnnotationInstance() 151 multibinder.addBinding().toInstance("B"); in testMultibinderAggregationForAnnotationInstance() [all …]
|
D | MapBinderTest.java | 191 MapBinder<String, String> multibinder = in testMapBinderAggregatesMultipleModules() 193 multibinder.addBinding("a").toInstance("A"); in testMapBinderAggregatesMultipleModules() 194 multibinder.addBinding("b").toInstance("B"); in testMapBinderAggregatesMultipleModules() 195 multibinder.addBinding("c").toInstance("C"); in testMapBinderAggregatesMultipleModules() 202 MapBinder<String, String> multibinder = in testMapBinderAggregatesMultipleModules() 204 multibinder.addBinding("d").toInstance("D"); in testMapBinderAggregatesMultipleModules() 205 multibinder.addBinding("e").toInstance("E"); in testMapBinderAggregatesMultipleModules() 237 MapBinder<String, String> multibinder = in testMapBinderAggregationForAnnotationInstance() 239 multibinder.addBinding("a").toInstance("A"); in testMapBinderAggregationForAnnotationInstance() 240 multibinder.addBinding("b").toInstance("B"); in testMapBinderAggregationForAnnotationInstance() [all …]
|
D | SpiUtils.java | 576 MultibinderBinding<Set<T>> multibinder = in setInjectorTest() local 578 assertNotNull(multibinder); in setInjectorTest() 579 assertEquals(elementType, multibinder.getElementTypeLiteral()); in setInjectorTest() 580 assertEquals(allowDuplicates, multibinder.permitsDuplicates()); in setInjectorTest() 581 List<Binding<?>> elements = Lists.newArrayList(multibinder.getElements()); in setInjectorTest() 584 "wrong bind elements, expected: " + bindResults + ", but was: " + multibinder.getElements(), in setInjectorTest() 607 Set<Binding> setOfElements = new HashSet<Binding>(multibinder.getElements()); in setInjectorTest() 619 boolean contains = multibinder.containsElement(b); in setInjectorTest() 623 if (visited.equals(multibinder)) { in setInjectorTest() 670 MultibinderBinding<Set<T>> multibinder = null; in setModuleTest() local [all …]
|
/external/mesa3d/docs/relnotes/ |
D | 19.1.0.rst | 1077 - iris: fix memzone_for_address since multibinder changes 2961 - iris: update comments for multibinder
|