Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java92 final TypeLiteral<?> javaOptionalOfString = field in OptionalBinderTest
135 requireBinding(Key.get(javaOptionalOfString)); in testTypeNotBoundByDefault()
174 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testOptionalIsAbsentByDefault()
216 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testUsesUserBoundValue()
258 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testUsesUserBoundValueNullProvidersMakeAbsent()
370 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testSetDefault()
411 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testSetBinding()
456 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testSetBindingOverridesDefault()
519 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testSpreadAcrossModules()
565 optional = toOptional(injector.getInstance(Key.get(javaOptionalOfString))); in testExactSameBindingCollapses_defaults()
[all …]