Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/
DCompatUtilsTest.java36 assertTrue(CompatUtils.isClassAvailable(BaseClass.class.getName())); in testIsClassAvailable()
61 assertFalse(CompatUtils.isMethodAvailable(BaseClass.class.getName(), "derivedMethod")); in testIsMethodAvailable_NonexistentMethod()
65 assertTrue(CompatUtils.isMethodAvailable(BaseClass.class.getName(), "baseMethod")); in testIsMethodAvailable()
84 assertNull(CompatUtils.invokeMethod(new BaseClass(), null, null, null)); in testInvokeMethod_NullMethodName()
88 assertNull(CompatUtils.invokeMethod(new BaseClass(), "", null, null)); in testInvokeMethod_EmptyMethodName()
96 assertNull(CompatUtils.invokeMethod(new BaseClass(), "derivedMethod", null, null)); in testInvokeMethod_NonexistentMethod()
118 private class BaseClass { class in CompatUtilsTest
122 private class DerivedClass extends BaseClass {