Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/compat/
DCompatUtilsTest.java71 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "baseMethod")); in testIsMethodAvailable_InheritedMethod()
75 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod")); in testIsMethodAvailable_OverloadedMethod()
76 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod", in testIsMethodAvailable_OverloadedMethod()
81 assertFalse(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod", in testIsMethodAvailable_NonexistentOverload()
102 … assertEquals(1, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", null, null)); in testInvokeMethod_MethodWithNoParameters()
106 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "derivedMethod", in testInvokeMethod_MethodWithNoParameters_WithParameters()
111 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_MethodWithParameters_WithEmptyParameterList()
116 assertEquals(2, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_InvokeSimpleMethod()
124 private class DerivedClass extends BaseClass { class in CompatUtilsTest
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py294 def ConvertTo(self, DerivedClass, name=None): argument
295 assert issubclass(DerivedClass, Operand)
297 newop = DerivedClass(name, self.type.GetSignatureTuple(), skipRenaming=True,
299 if not issubclass(DerivedClass, Internal):
302 assert not issubclass(DerivedClass, Internal)