Searched refs:DerivedClass (Results 1 – 1 of 1) sorted by relevance
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/ |
D | CompatUtilsTest.java | 69 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "baseMethod")); in testIsMethodAvailable_InheritedMethod() 73 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod")); in testIsMethodAvailable_OverloadedMethod() 74 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod", in testIsMethodAvailable_OverloadedMethod() 79 assertFalse(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod", in testIsMethodAvailable_NonexistentOverload() 100 … assertEquals(1, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", null, null)); in testInvokeMethod_MethodWithNoParameters() 104 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "derivedMethod", in testInvokeMethod_MethodWithNoParameters_WithParameters() 109 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_MethodWithParameters_WithEmptyParameterList() 114 assertEquals(2, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_InvokeSimpleMethod() 122 private class DerivedClass extends BaseClass { class in CompatUtilsTest
|