propgridpagestate tweaks and add simple tests

This commit is contained in:
Robin Dunn
2016-08-25 14:09:44 -07:00
parent 5e91340bc1
commit 4faafd8a26
2 changed files with 21 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ DOCSTRING = ""
ITEMS = [ 'wxPropertyGridHitTestResult',
'wxPropertyGridIteratorBase',
'wxPropertyGridIterator',
'wxPropertyGridConstIterator',
#'wxPropertyGridConstIterator', # probably not needed in Python...
'wxPGVIterator',
'wxPropertyGridPageState',
]

View File

@@ -7,10 +7,26 @@ import wx.propgrid as pg
class propgridpagestate_Tests(wtc.WidgetTestCase):
# TODO: Remove this test and add real ones.
def test_propgridpagestate1(self):
self.fail("Unit tests for propgridpagestate not implemented yet.")
def test_propgridpagestate01(self):
r = pg.PropertyGridHitTestResult()
def test_propgridpagestate02(self):
ib = pg.PropertyGridIteratorBase()
ii = pg.PropertyGridIterator()
def test_propgridpagestate03(self):
i = pg.PGVIterator()
def test_propgridpagestate04(self):
s = pg.PropertyGridPageState()
#---------------------------------------------------------------------------
if __name__ == '__main__':