Lines Matching full:shape
25 # Test a shape instance to make sure we get the vtable correctly.
26 shape = self.frame().FindVariable("shape")
27 vtable = shape.GetVTable()
28 self.assertEqual(vtable.GetName(), "vtable for Shape")
29 self.assertEqual(vtable.GetTypeName(), "vtable for Shape")
31 # for the shape class.
36 expected_addr = self.expected_vtable_addr(shape)
42 # Test a shape reference to make sure we get the vtable correctly.
43 shape = self.frame().FindVariable("shape_ref")
44 vtable = shape.GetVTable()
45 self.assertEqual(vtable.GetName(), "vtable for Shape")
46 self.assertEqual(vtable.GetTypeName(), "vtable for Shape")
48 # for the shape class.
53 expected_addr = self.expected_vtable_addr(shape)
82 self, "Shape is Rectangle", lldb.SBFileSpec("main.cpp")
85 shape = self.frame().FindVariable("shape")
94 self, process, "Shape is Shape", lldb.SBFileSpec("main.cpp")
96 self.assertEqual(shape_ptr.GetValueAsUnsigned(0), shape.GetLoadAddress())
98 self.assertEqual(shape_ptr_vtable.GetName(), "vtable for Shape")
126 # Test a shape instance to make sure we get the vtable correctly.
127 shape = self.frame().FindVariable("shape")
128 vtable = shape.GetVTable()
129 self.assertEqual(vtable.GetName(), "vtable for Shape")
130 self.assertEqual(vtable.GetTypeName(), "vtable for Shape")
132 # for the shape class.