Beispiel #1
0
 def testEmpty(self):
     ti, extras = win32gui_struct.EmptyLVCOLUMN()
     fmt, cx, text, subItem, image, order = win32gui_struct.UnpackLVCOLUMN(ti)
     self.failUnlessEqual(fmt, 0)
     self.failUnlessEqual(cx, 0)
     self.failUnlessEqual(text, "")
     self.failUnlessEqual(subItem, 0)
     self.failUnlessEqual(image, 0)
     self.failUnlessEqual(order, 0)
Beispiel #2
0
 def testEmpty(self):
     ti, extras = win32gui_struct.EmptyLVCOLUMN()
     fmt, cx, text, subItem, image, order = \
         win32gui_struct.UnpackLVCOLUMN(ti)
     assert fmt == 0
     assert cx == 0
     assert text == ''
     assert subItem == 0
     assert image == 0
     assert order == 0
 def testEmpty(self):
     ti, extras = win32gui_struct.EmptyLVCOLUMN()
     fmt, cx, text, subItem, image, order = \
         win32gui_struct.UnpackLVCOLUMN(ti)
     self.assertEqual(fmt, 0)
     self.assertEqual(cx, 0)
     self.assertEqual(text, '')
     self.assertEqual(subItem, 0)
     self.assertEqual(image, 0)
     self.assertEqual(order, 0)