Searched refs:ReflectionTest (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | GetCallerClassTest.java | 88 new ReflectionTest().run(); in test() 95 new Thread(new ReflectionTest()) in test() 241 class ReflectionTest implements Runnable { class in GetCallerClassTest 257 mh.invokeExact(walker, ReflectionTest.class, expectUOE); in callMethodHandle() 268 mh.invokeExact(walker, ReflectionTest.class, expectUOE); in callMethodHandleRefl() 277 m.invoke(null, walker, ReflectionTest.class, expectUOE); in callMethodInvoke() 286 m.invoke(null, walker, ReflectionTest.class, expectUOE); in callMethodInvokeRefl()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ReflectionTest.java | 43 public final class ReflectionTest extends TestCase { class 313 assertFalse(ReflectionTest.class.isLocalClass()); in testIsLocalClass() 328 assertFalse(ReflectionTest.class.isAnonymousClass()); in testIsAnonymousClass() 441 assertNull(ReflectionTest.class.getEnclosingClass()); in testGetEnclosingClass() 442 assertEquals(ReflectionTest.class, Foo.class.getEnclosingClass()); in testGetEnclosingClass() 443 assertEquals(ReflectionTest.class, HasMemberClassesInterface.class.getEnclosingClass()); in testGetEnclosingClass() 446 assertEquals(ReflectionTest.class, Foo.class.getEnclosingClass()); in testGetEnclosingClass() 450 assertNull(ReflectionTest.class.getDeclaringClass()); in testGetDeclaringClass() 451 assertEquals(ReflectionTest.class, Foo.class.getDeclaringClass()); in testGetDeclaringClass() 452 assertEquals(ReflectionTest.class, HasMemberClassesInterface.class.getDeclaringClass()); in testGetDeclaringClass() [all …]
|