mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 12:30:07 +01:00
Add unittest for wx.SearchCtrl [Get|Set]Value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,6 +31,12 @@ class srchctrl_Tests(wtc.WidgetTestCase):
|
||||
self.frame.Bind(wx.EVT_SEARCHCTRL_SEARCH_BTN, lambda e: None, t)
|
||||
|
||||
|
||||
def test_srchctrlGetSetValue(self):
|
||||
t = wx.SearchCtrl(self.frame)
|
||||
t.SetValue('Hello')
|
||||
self.assertEqual(t.GetValue(), 'Hello')
|
||||
self.assertEqual(t.Value, 'Hello')
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user