Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java59 public static class TestClass { class in ClassTest
82 public TestClass() { in TestClass() method in ClassTest.TestClass
86 private TestClass(Object o) { in TestClass() method in ClassTest.TestClass
90 public static class SubTestClass extends TestClass {
233 TestClass.class.getConstructor(new Class[0]); in test_getConstructor$Ljava_lang_Class()
235 TestClass.class.getConstructor(Object.class); in test_getConstructor$Ljava_lang_Class()
246 Constructor[] c = TestClass.class.getConstructors(); in test_getConstructors()
261 Constructor<TestClass> c = TestClass.class.getDeclaredConstructor(new Class[0]); in test_getDeclaredConstructor$Ljava_lang_Class()
263 c = TestClass.class.getDeclaredConstructor(Object.class); in test_getDeclaredConstructor$Ljava_lang_Class()
270 Constructor[] c = TestClass.class.getDeclaredConstructors(); in test_getDeclaredConstructors()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java33 public class TestClass { class in AccessibleObjectTest
40 public class SubTestClass extends TestClass{
96 AccessibleObject ao = TestClass.class.getField("aField"); in test_isAccessible()
112 AccessibleObject ao = TestClass.class.getField("aField"); in test_setAccessible$Ljava_lang_reflect_AccessibleObjectZ()
127 AccessibleObject ao = TestClass.class.getField("aField"); in test_setAccessible()
DFieldTest.java44 public class TestClass { class in FieldTest
1531 Field field = TestClass.class.getField("annotatedField"); in test_getDeclaredAnnotations()
1553 field = TestClass.class.getDeclaredField("annotatedField"); in test_isEnumConstant()
1559 Field[] fields = TestClass.Inner.class.getDeclaredFields(); in test_isSynthetic()
1568 field = TestClass.class.getDeclaredField("annotatedField"); in test_isSynthetic()
1615 Field field = TestClass.class.getDeclaredField("annotatedField"); in test_hashCode()
/libcore/test-rules/src/main/java/libcore/junit/junit3/
DTestCaseWithRules.java30 import org.junit.runners.model.TestClass;
46 private final TestClass testClass;
51 testClass = new TestClass(getClass()); in TestCaseWithRules()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java154 public static class TestClass { class in OldClassTest
177 public TestClass() { in TestClass() method in OldClassTest.TestClass
181 private TestClass(Object o) { in TestClass() method in OldClassTest.TestClass
185 public static class SubTestClass extends TestClass {
657 TestClass.class.getDeclaredConstructor(String.class); in test_getDeclaredConstructor$Ljava_lang_Class()
666 TestClass.class.getDeclaredField(null); in test_getDeclaredFieldLjava_lang_String()
673 TestClass.class.getDeclaredField("NonExistentField"); in test_getDeclaredFieldLjava_lang_String()
682 TestClass.class.getDeclaredMethod(null, new Class[0]); in test_getDeclaredMethodLjava_lang_String$Ljava_lang_Class()
689 TestClass.class.getDeclaredMethod("NonExistentMethod", new Class[0]); in test_getDeclaredMethodLjava_lang_String$Ljava_lang_Class()
702 m = TestClass.class.getMethod("init", new Class[0]); in test_getMethodLjava_lang_String$Ljava_lang_Class()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/pkg1/
DTestClass.java26 public class TestClass implements Serializable { class
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/pkg2/
DTestClass.java26 public class TestClass implements Serializable { class
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/pkg2/
DTestClass.java26 public class TestClass implements Serializable { class
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/pkg1/
DTestClass.java26 public class TestClass implements Serializable { class
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java1070 return org.apache.harmony.luni.tests.pkg2.TestClass.class; in resolveClass()
1077 …org.apache.harmony.luni.tests.pkg1.TestClass to1 = new org.apache.harmony.luni.tests.pkg1.TestClas… in test_resolveClass()
1086 …org.apache.harmony.luni.tests.pkg2.TestClass to2 = (org.apache.harmony.luni.tests.pkg2.TestClass) … in test_resolveClass()