Searched refs:AbstractChild (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_isinstance.py | 160 AbstractChild = AbstractClass(bases=(AbstractSuper,)) variable 191 self.assertEqual(False, isinstance(Super(), AbstractChild)) 199 self.assertEqual(False, isinstance(AbstractSuper(), AbstractChild)) 203 self.assertEqual(True, isinstance(AbstractChild(), AbstractChild)) 204 self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper)) 205 self.assertEqual(False, isinstance(AbstractChild(), Super)) 206 self.assertEqual(False, isinstance(AbstractChild(), Child)) 221 self.assertEqual(False, issubclass(AbstractSuper, AbstractChild)) 224 self.assertEqual(True, issubclass(AbstractChild, AbstractChild)) 225 self.assertEqual(True, issubclass(AbstractChild, AbstractSuper)) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_isinstance.py | 172 AbstractChild = AbstractClass(bases=(AbstractSuper,)) variable 194 self.assertEqual(False, isinstance(Super(), AbstractChild)) 202 self.assertEqual(False, isinstance(AbstractSuper(), AbstractChild)) 206 self.assertEqual(True, isinstance(AbstractChild(), AbstractChild)) 207 self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper)) 208 self.assertEqual(False, isinstance(AbstractChild(), Super)) 209 self.assertEqual(False, isinstance(AbstractChild(), Child)) 224 self.assertEqual(False, issubclass(AbstractSuper, AbstractChild)) 227 self.assertEqual(True, issubclass(AbstractChild, AbstractChild)) 228 self.assertEqual(True, issubclass(AbstractChild, AbstractSuper)) [all …]
|
D | test_inspect.py | 295 class AbstractChild(AbstractClassExample): class 297 class AbstractGrandchild(AbstractChild):
|
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/ |
D | AutoValueTest.java | 1407 abstract static class AbstractChild extends AbstractParent { class in AutoValueTest 1413 static AbstractChild create(int foo) { in create() 1420 AbstractChild instance = AbstractChild.create(23); in testOverrideNotDuplicated()
|