mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
propgridpagestate tweaks and add simple tests
This commit is contained in:
@@ -20,7 +20,7 @@ DOCSTRING = ""
|
||||
ITEMS = [ 'wxPropertyGridHitTestResult',
|
||||
'wxPropertyGridIteratorBase',
|
||||
'wxPropertyGridIterator',
|
||||
'wxPropertyGridConstIterator',
|
||||
#'wxPropertyGridConstIterator', # probably not needed in Python...
|
||||
'wxPGVIterator',
|
||||
'wxPropertyGridPageState',
|
||||
]
|
||||
|
||||
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user