Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/base/
DOptionalTest.java246 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice() local
247 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()
248 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()
254 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards() local
255 assertThat(onlyPresent).containsExactly(2); in testPresentInstances_wildcards()
/external/guava/guava-tests/test/com/google/common/base/
DOptionalTest.java263 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice() local
264 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()
265 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()
271 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards() local
272 assertThat(onlyPresent).containsExactly(2); in testPresentInstances_wildcards()