Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMethodOverridesTest.java56 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsIncludesInheritedMethods()
61 Set<String> signatures = signatures(Sub.class.getDeclaredMethods()); in testGetDeclaredMethodsDoesNotIncludeInheritedMethods()
66 assertEquals(Sub.class, Sub.class.getMethod("unchanged").getDeclaringClass()); in testGetDeclaringClassReturnsOverridingClass()
67 assertEquals(Sub.class, Sub.class.getDeclaredMethod("unchanged").getDeclaringClass()); in testGetDeclaringClassReturnsOverridingClass()
71 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsDoesNotIncludeExceptionChanges()
74 assertEquals(Sub.class, Sub.class.getMethod("thrower").getDeclaringClass()); in testGetMethodsDoesNotIncludeExceptionChanges()
78 Set<String> signatures = signatures(Sub.class.getMethods()); in testGetMethodsIncludesSyntheticMethods()
82 Method method = Sub.class.getMethod("returner"); in testGetMethodsIncludesSyntheticMethods()
83 assertEquals(Sub.class, method.getDeclaringClass()); in testGetMethodsIncludesSyntheticMethods()
88 Set<String> signatures = signatures(Sub.class.getDeclaredMethods()); in testGetDeclaredMethodsIncludesSyntheticMethods()
[all …]
DMethodTest.java94 assertEquals(InterfaceA.class, Sub.class.getMethod("a").getDeclaringClass()); in testGetMethodWithPrivateMethodAndInterfaceMethod()
145 Method b = Sub.class.getMethod("b"); in testGetMethodReturnsInheritedStaticMethod()
156 Sub.class.getDeclaredMethod("a"); in testGetDeclaredMethodDoesNotReturnSuperclassMethods()
340 public static abstract class Sub extends Super implements InterfaceA { class in MethodTest
/libcore/ojluni/src/test/java/lang/ref/
DBasicTest.java54 public static class Sub { }; class in BasicTest
56 Object sub = new Sub();
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSubmissionPublisherTest.java1018 class Sub implements Subscriber<Boolean> {
1032 pub.subscribe(new Sub());
/libcore/ojluni/src/test/java/nio/Buffer/
DBasic-X.java.template918 // Sub, dup