Home
last modified time | relevance | path

Searched refs:optionalProvider (Results 1 – 6 of 6) sorted by relevance

/external/dagger2/javatests/dagger/functional/jdk8/
DOptionalBindingComponents.java48 abstract Optional<Provider<Value>> optionalProvider(); in optionalProvider() method in OptionalBindingComponents.Values
85 Optional<Provider<Value>> optionalProvider, in values() argument
89 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in values()
96 @SomeQualifier Optional<Provider<Value>> optionalProvider, in qualifiedValues() argument
100 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in qualifiedValues()
DOptionalBindingComponentsEmptyTest.java43 public void optionalProvider() { in optionalProvider() method in OptionalBindingComponentsEmptyTest
44 assertThat(component.values().optionalProvider()).isEmpty(); in optionalProvider()
64 assertThat(component.qualifiedValues().optionalProvider()).isEmpty(); in qualifiedOptionalProvider()
DOptionalBindingComponentsPresentTest.java51 public void optionalProvider() { in optionalProvider() method in OptionalBindingComponentsPresentTest
52 assertThat(component.values().optionalProvider().get().get()).isEqualTo(VALUE); in optionalProvider()
72 assertThat(component.qualifiedValues().optionalProvider().get().get()) in qualifiedOptionalProvider()
/external/dagger2/javatests/dagger/functional/guava/
DOptionalBindingComponents.java48 abstract Optional<Provider<Value>> optionalProvider(); in optionalProvider() method in OptionalBindingComponents.Values
85 Optional<Provider<Value>> optionalProvider, in values() argument
89 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in values()
96 @SomeQualifier Optional<Provider<Value>> optionalProvider, in qualifiedValues() argument
100 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in qualifiedValues()
DOptionalBindingComponentsAbsentTest.java43 public void optionalProvider() { in optionalProvider() method in OptionalBindingComponentsAbsentTest
44 assertThat(absent.values().optionalProvider()).isAbsent(); in optionalProvider()
64 assertThat(absent.qualifiedValues().optionalProvider()).isAbsent(); in qualifiedOptionalProvider()
DOptionalBindingComponentsPresentTest.java50 public void optionalProvider() { in optionalProvider() method in OptionalBindingComponentsPresentTest
51 assertThat(component.values().optionalProvider().get().get()).isEqualTo(VALUE); in optionalProvider()
71 assertThat(component.qualifiedValues().optionalProvider().get().get()) in qualifiedOptionalProvider()