Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldGenericReflectionCornerCases.java50 assertInstanceOf(ParameterizedType.class, parameter); in testWildcardEquality()
56 assertInstanceOf(WildcardType.class, firstArgument); in testWildcardEquality()
59 assertInstanceOf(WildcardType.class, secondArgument); in testWildcardEquality()
93 assertInstanceOf(ParameterizedType.class, parameter); in testWildcardUnEquality()
99 assertInstanceOf(WildcardType.class, firstArgument); in testWildcardUnEquality()
102 assertInstanceOf(WildcardType.class, secondArgument); in testWildcardUnEquality()
137 assertInstanceOf(ParameterizedType.class, typeParameterBounds[1]); in testMultipleBoundedWildcardUnEquality()
142 assertInstanceOf(ParameterizedType.class, typeArguments[0]); in testMultipleBoundedWildcardUnEquality()
150 assertInstanceOf(ParameterizedType.class, parameter); in testMultipleBoundedWildcardUnEquality()
156 assertInstanceOf(WildcardType.class, firstArgument); in testMultipleBoundedWildcardUnEquality()
[all …]
DOldGenericTypesTest.java85 assertInstanceOf(TypeVariable.class, parameterType); in testStaticMethodGenericType()
98 assertInstanceOf(TypeVariable.class, parameterType); in testHidingMethodGenericType()
166 assertInstanceOf(ParameterizedType.class, clazz.getGenericSuperclass()); in testSimpleInheritance()
168 assertInstanceOf(Class.class, parameterizedSuperType.getRawType()); in testSimpleInheritance()
178 assertInstanceOf(TypeVariable.class, actualTypeArguments[0]); in testSimpleInheritance()
199 assertInstanceOf(TypeVariable.class, genericParameterTypes[0]); in testInnerClassTest()
208 assertInstanceOf(TypeVariable.class, methodParameterTypes[0]); in testInnerClassTest()
231 assertInstanceOf(TypeVariable.class, exceptionTypes[0]); in testException()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DGenericArrayTypeTest.java38 assertInstanceOf(GenericArrayType.class, genericType); in testGetGenericComponentType()
44 assertInstanceOf(TypeVariable.class, componentType); in testGetGenericComponentType()
58 assertInstanceOf(GenericArrayType.class, genericType); in testParameterizedComponentType()
66 assertInstanceOf(ParameterizedType.class, componentType); in testParameterizedComponentType()
DParameterizedTypeTest.java34 assertInstanceOf(ParameterizedType.class, genericSuperclass); in testStringParameterizedSuperClass()
55 assertInstanceOf(ParameterizedType.class, genericSuperclass); in testTypeParameterizedSuperClass()
78 assertInstanceOf(ParameterizedType.class, field.getGenericType()); in testParameterizedMemeber()
DWildcardTypeTest.java70 assertInstanceOf(ParameterizedType.class, genericParameterType); in checkLowerBoundedParameter()
76 assertInstanceOf(WildcardType.class, actualTypeArguments[0]); in checkLowerBoundedParameter()
94 assertInstanceOf(ParameterizedType.class, genericParameterType); in checkUpperBoundedParameter()
99 assertInstanceOf(WildcardType.class, actualTypeArguments[0]); in checkUpperBoundedParameter()
DGenericMethodsTests.java71 assertInstanceOf(TypeVariable.class, genericParameterType); in checkParameterType()
83 assertInstanceOf(TypeVariable.class, genericReturnType); in checkReturnType()
DGenericReflectionTestsBase.java65 public static void assertInstanceOf(Class<?> expectedClass, Object actual) { in assertInstanceOf() method in GenericReflectionTestsBase
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_namednodemapreturnattrnode.java76 assertInstanceOf("typeAssert", Attr.class, streetAttr); in runTest()
Dnamednodemapreturnattrnode.java79 assertInstanceOf("typeAssert", Attr.class, streetAttr); in runTest()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestInnerClass.java57 public void assertInstanceOf(String assertID, Class cls, Object obj) { in assertInstanceOf() method in DOMTestInnerClass
58 test.assertInstanceOf(assertID, cls, obj); in assertInstanceOf()
DDOMTestFramework.java50 void assertInstanceOf( in assertInstanceOf() method
DDOMTestCase.java227 public void assertInstanceOf(String assertID, Class cls, Object obj) { in assertInstanceOf() method in DOMTestCase
228 framework.assertInstanceOf(this, assertID, obj, cls); in assertInstanceOf()
DJUnitTestCaseAdapter.java222 public void assertInstanceOf(DOMTestCase test, String assertID, Object obj, Class cls) { in assertInstanceOf() method in JUnitTestCaseAdapter