Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java167 Optional<javax.inject.Provider<String>> optionalJxP = in testOptionalIsAbsentByDefault() local
169 assertFalse(optionalJxP.isPresent()); in testOptionalIsAbsentByDefault()
180 optionalJxP = toOptional(injector.getInstance(Key.get(javaOptionalOfJavaxProviderString))); in testOptionalIsAbsentByDefault()
181 assertFalse(optionalJxP.isPresent()); in testOptionalIsAbsentByDefault()
208 Optional<javax.inject.Provider<String>> optionalJxP = in testUsesUserBoundValue() local
210 assertEquals("foo", optionalJxP.get().get()); in testUsesUserBoundValue()
222 optionalJxP = toOptional(injector.getInstance(Key.get(javaOptionalOfJavaxProviderString))); in testUsesUserBoundValue()
223 assertEquals("foo", optionalJxP.get().get()); in testUsesUserBoundValue()
250 Optional<javax.inject.Provider<String>> optionalJxP = in testUsesUserBoundValueNullProvidersMakeAbsent() local
252 assertEquals(null, optionalJxP.get().get()); in testUsesUserBoundValueNullProvidersMakeAbsent()
[all …]