Home
last modified time | relevance | path

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

/external/dagger2/javatests/dagger/functional/
DMultibindingTest.java36 private final MultibindingComponent multibindingComponent = field in MultibindingTest
40 Map<String, String> map = multibindingComponent.map(); in map()
47 Map<String, String[]> map = multibindingComponent.mapOfArrays(); in mapOfArrays()
56 Map<String, Provider<String>> mapOfProviders = multibindingComponent.mapOfProviders(); in mapOfProviders()
63 assertThat(multibindingComponent.mapKeys()) in mapKeysAndValues()
65 assertThat(multibindingComponent.mapValues()) in mapKeysAndValues()
70 assertThat(multibindingComponent.nestedKeyMap()) in nestedKeyMap()
77 assertThat(multibindingComponent.unwrappedAnnotationKeyMap()) in unwrappedAnnotationKeyMap()
85 assertThat(multibindingComponent.wrappedAnnotationKeyMap()) in wrappedAnnotationKeyMap()
94 assertThat(multibindingComponent.booleanKeyMap()).containsExactly(true, "true"); in booleanKeyMap()
[all …]
/external/dagger2/javatests/dagger/functional/producers/multibindings/
DMultibindingTest.java38 MultibindingComponent multibindingComponent = DaggerMultibindingComponent.create(); in setBinding() local
39 assertThat(multibindingComponent.strs().get()) in setBinding()
52 assertThat(multibindingComponent.strCount().get()).isEqualTo(11); in setBinding()
57 MultibindingComponent multibindingComponent = DaggerMultibindingComponent.create(); in setBindingOfProduced() local
58 assertThat(multibindingComponent.successfulSet().get()) in setBindingOfProduced()
75 MultibindingComponent multibindingComponent = DaggerMultibindingComponent.create(); in setBindingOfProducedWithFailures() local
76 Set<Produced<String>> possiblyThrowingSet = multibindingComponent.possiblyThrowingSet().get(); in setBindingOfProducedWithFailures()
93 MultibindingComponent multibindingComponent = DaggerMultibindingComponent.create(); in mapBinding() local
94 Map<Integer, String> map = multibindingComponent.map().get(); in mapBinding()
103 MultibindingComponent multibindingComponent = DaggerMultibindingComponent.create(); in mapOfProducerBinding() local
[all …]