Searched refs:TestMethod (Results 1 - 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DInvocationTargetExceptionTest.java31 static class TestMethod { class in class:InvocationTargetExceptionTest
32 public TestMethod() { method in class:InvocationTargetExceptionTest.TestMethod
134 Method mth = TestMethod.class.getDeclaredMethod(
137 Object ret = mth.invoke(new TestMethod(), new Object[0]);
156 Method mth = TestMethod.class.getDeclaredMethod(
159 Object ret = mth.invoke(new TestMethod(), new Object[0]);
177 Method mth = TestMethod.class.getDeclaredMethod(
180 Object ret = mth.invoke(new TestMethod(), new Object[0]);
198 Method mth = TestMethod.class.getDeclaredMethod(
201 Object ret = mth.invoke(new TestMethod(), ne
[all...]
H A DMethodTest.java35 static class TestMethod { class in class:MethodTest
36 public TestMethod() { method in class:MethodTest.TestMethod
161 class TestMethodSub extends TestMethod {
201 m1 = TestMethod.class.getMethod("invokeInstanceTest", new Class[0]);
210 m1 = TestMethod.class.getMethod("invokeStaticTest", new Class[0]);
224 Method m1 = TestMethod.class.getMethod("invokeInstanceTest", new Class[0]);
225 Method m2 = TestMethod.class.getMethod("invokeInstanceTest", (Class[]) null);
234 Method m1 = TestMethod.class.getDeclaredMethod("invokeInstanceTest", new Class[0]);
235 Method m2 = TestMethod.class.getDeclaredMethod("invokeInstanceTest", (Class[]) null);
249 mths = TestMethod
[all...]

Completed in 1186 milliseconds