mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Test fixes
This commit is contained in:
@@ -112,6 +112,7 @@ class BitmapTests(wtc.WidgetTestCase):
|
|||||||
wx.BitmapBufferFormat_RGB32
|
wx.BitmapBufferFormat_RGB32
|
||||||
wx.BitmapBufferFormat_ARGB32
|
wx.BitmapBufferFormat_ARGB32
|
||||||
|
|
||||||
|
@unittest.skipIf('wxMac' in wx.PlatformInfo, 'Changing exiting bitmap size not allowed on wxMac')
|
||||||
def test_bitmapSetSize(self):
|
def test_bitmapSetSize(self):
|
||||||
b1 = wx.Bitmap(1,1)
|
b1 = wx.Bitmap(1,1)
|
||||||
b1.SetSize((20,30))
|
b1.SetSize((20,30))
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ imgFiles = [os.path.join(os.path.dirname(__file__), 'LB01.png'),
|
|||||||
|
|
||||||
class bmpcbox_Tests(wtc.WidgetTestCase):
|
class bmpcbox_Tests(wtc.WidgetTestCase):
|
||||||
|
|
||||||
|
@unittest.skipIf('wxMac' in wx.PlatformInfo, 'Needs a real MainLoop on wxMac')
|
||||||
def test_bmpcbox1(self):
|
def test_bmpcbox1(self):
|
||||||
pnl = wx.Panel(self.frame)
|
pnl = wx.Panel(self.frame)
|
||||||
|
|
||||||
@@ -34,6 +35,7 @@ class bmpcbox_Tests(wtc.WidgetTestCase):
|
|||||||
self.waitFor(300)
|
self.waitFor(300)
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf('wxMac' in wx.PlatformInfo, 'Needs a real MainLoop on wxMac')
|
||||||
def test_bmpcbox2(self):
|
def test_bmpcbox2(self):
|
||||||
pnl = wx.Panel(self.frame)
|
pnl = wx.Panel(self.frame)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user