mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
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:
@@ -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()
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user