Add simple unittest for wx.Overlay

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-05-22 00:17:26 +00:00
parent 9afc5d886e
commit b70299d205

View File

@@ -6,9 +6,14 @@ import wx
class overlay_Tests(wtc.WidgetTestCase):
# TODO: Remove this test and add real ones.
def test_overlay1(self):
self.fail("Unit tests for overlay not implemented yet.")
o = wx.Overlay()
dc = wx.ClientDC(self.frame)
odc = wx.DCOverlay(o, dc)
odc.Clear()
del odc
o.Reset()
#---------------------------------------------------------------------------