Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java747 TypeToken<?> upperBoundToken = new TypeToken<List<? extends Number>>() {}; in testAssignableWithWildcards() local
753 unboundedToken, upperBoundToken, lowerBoundToken, in testAssignableWithWildcards()
760 assertFalse(upperBoundToken.isAssignableFrom(unboundedToken)); in testAssignableWithWildcards()
761 assertTrue(upperBoundToken.isAssignableFrom(upperBoundToken)); in testAssignableWithWildcards()
762 assertFalse(upperBoundToken.isAssignableFrom(lowerBoundToken)); in testAssignableWithWildcards()
763 assertTrue(upperBoundToken.isAssignableFrom(concreteToken)); in testAssignableWithWildcards()
764 assertTrue(upperBoundToken.isAssignableFrom(subtypeToken)); in testAssignableWithWildcards()
765 assertFalse(upperBoundToken.isAssignableFrom(supertypeToken)); in testAssignableWithWildcards()
768 assertFalse(lowerBoundToken.isAssignableFrom(upperBoundToken)); in testAssignableWithWildcards()