Searched refs:optionalLazy (Results 1 – 6 of 6) sorted by relevance
/external/dagger2/javatests/dagger/functional/jdk8/ |
D | OptionalBindingComponents.java | 50 abstract Optional<Lazy<Value>> optionalLazy(); in optionalLazy() method in OptionalBindingComponents.Values 86 Optional<Lazy<Value>> optionalLazy, in values() argument 89 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in values() 97 @SomeQualifier Optional<Lazy<Value>> optionalLazy, in qualifiedValues() argument 100 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in qualifiedValues()
|
D | OptionalBindingComponentsEmptyTest.java | 48 public void optionalLazy() { in optionalLazy() method in OptionalBindingComponentsEmptyTest 49 assertThat(component.values().optionalLazy()).isEmpty(); in optionalLazy() 69 assertThat(component.qualifiedValues().optionalLazy()).isEmpty(); in qualifiedOptionalLazy()
|
D | OptionalBindingComponentsPresentTest.java | 56 public void optionalLazy() { in optionalLazy() method in OptionalBindingComponentsPresentTest 57 assertThat(component.values().optionalLazy().get().get()).isEqualTo(VALUE); in optionalLazy() 78 assertThat(component.qualifiedValues().optionalLazy().get().get()).isEqualTo(QUALIFIED_VALUE); in qualifiedOptionalLazy()
|
/external/dagger2/javatests/dagger/functional/guava/ |
D | OptionalBindingComponents.java | 50 abstract Optional<Lazy<Value>> optionalLazy(); in optionalLazy() method in OptionalBindingComponents.Values 86 Optional<Lazy<Value>> optionalLazy, in values() argument 89 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in values() 97 @SomeQualifier Optional<Lazy<Value>> optionalLazy, in qualifiedValues() argument 100 optionalInstance, optionalProvider, optionalLazy, optionalLazyProvider); in qualifiedValues()
|
D | OptionalBindingComponentsAbsentTest.java | 48 public void optionalLazy() { in optionalLazy() method in OptionalBindingComponentsAbsentTest 49 assertThat(absent.values().optionalLazy()).isAbsent(); in optionalLazy() 69 assertThat(absent.qualifiedValues().optionalLazy()).isAbsent(); in qualifiedOptionalLazy()
|
D | OptionalBindingComponentsPresentTest.java | 55 public void optionalLazy() { in optionalLazy() method in OptionalBindingComponentsPresentTest 56 assertThat(component.values().optionalLazy().get().get()).isEqualTo(VALUE); in optionalLazy() 77 assertThat(component.qualifiedValues().optionalLazy().get().get()).isEqualTo(QUALIFIED_VALUE); in qualifiedOptionalLazy()
|