Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java609 TypeToken<?> upperBounded = TypeToken.of(Types.subtypeOf(Object[].class)); in testAssignableArrayClassToBoundedWildcard() local
611 assertTrue(upperBounded.isAssignableFrom(Object[].class)); in testAssignableArrayClassToBoundedWildcard()
612 assertTrue(upperBounded.isAssignableFrom(Object[][].class)); in testAssignableArrayClassToBoundedWildcard()
613 assertTrue(upperBounded.isAssignableFrom(String[].class)); in testAssignableArrayClassToBoundedWildcard()
629 TypeToken<?> upperBounded = TypeToken.of(Types.subtypeOf(Object[].class)); in testAssignableWildcardToWildcard() local
631 assertFalse(lowerBounded.isAssignableFrom(upperBounded)); in testAssignableWildcardToWildcard()
633 assertTrue(upperBounded.isAssignableFrom(upperBounded)); in testAssignableWildcardToWildcard()
634 assertFalse(upperBounded.isAssignableFrom(lowerBounded)); in testAssignableWildcardToWildcard()