Home
last modified time | relevance | path

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

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DOptionalTest.java39 Optional<String> optionalName = Optional.absent(); in testAbsent() local
40 assertFalse(optionalName.isPresent()); in testAbsent()
56 Optional<String> optionalName = Optional.fromNullable("bob"); in testFromNullable() local
57 assertEquals("bob", optionalName.get()); in testFromNullable()
/external/guava/guava-tests/test/com/google/common/base/
DOptionalTest.java42 Optional<String> optionalName = Optional.absent(); in testAbsent() local
43 assertFalse(optionalName.isPresent()); in testAbsent()
59 Optional<String> optionalName = Optional.fromNullable("bob"); in testFromNullable() local
60 assertEquals("bob", optionalName.get()); in testFromNullable()