Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java610 TypeToken<?> lowerBounded = TypeToken.of(Types.supertypeOf(Object[].class)); in testAssignableArrayClassToBoundedWildcard() local
614 assertTrue(lowerBounded.isAssignableFrom(Object[].class)); in testAssignableArrayClassToBoundedWildcard()
615 assertTrue(lowerBounded.isAssignableFrom(Object.class)); in testAssignableArrayClassToBoundedWildcard()
616 assertFalse(lowerBounded.isAssignableFrom(Object[][].class)); in testAssignableArrayClassToBoundedWildcard()
617 assertFalse(lowerBounded.isAssignableFrom(String[].class)); in testAssignableArrayClassToBoundedWildcard()
630 TypeToken<?> lowerBounded = TypeToken.of(Types.supertypeOf(Object[].class)); in testAssignableWildcardToWildcard() local
631 assertFalse(lowerBounded.isAssignableFrom(upperBounded)); in testAssignableWildcardToWildcard()
632 assertTrue(lowerBounded.isAssignableFrom(lowerBounded)); in testAssignableWildcardToWildcard()
634 assertFalse(upperBounded.isAssignableFrom(lowerBounded)); in testAssignableWildcardToWildcard()