Commit Graph

10 Commits

Author SHA1 Message Date
Samuel Dunn
f1bc13a841 Ensure wx.Config related enums are present for SIP
Also adds unittests to ensure they remain present in Phoenix.
2017-06-26 17:28:50 -07:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Robin Dunn
bb01dc0d7f Use absolute import of wtc in the unittest modules, instead of depending on them being run as __main__ and getting the folder on the sys.path by default. 2016-06-30 16:49:19 -07:00
Robin Dunn
4f38ee259d Remove imp_unittest 2016-05-07 19:16:28 -07:00
Robin Dunn
596cb9b484 Set the log target to use stderr so it won't try making log dialogs while tests are running (and the UI might not be in enough of a fully initialized state for them to work without asserting or crashing.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:18 +00:00
Robin Dunn
bea3258b0b Ignore the GetFirst/GetNext methods in wx.FileConfig so it will use the custom ones in wx.ConfigBase instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:09 +00:00
Robin Dunn
b0f18532d4 Fix Get[First|Next][Entry|Group] to work like they did in Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-12 04:02:07 +00:00
Robin Dunn
e882826b13 Add wxConfigPathChanger and make it be a context manager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-10 23:51:58 +00:00
Robin Dunn
6e5dd68234 * add a yield function that makes its own eventloop since the unittests are run before MainLoop and wx.Yield is almost a no-op then.
* Use the new yield
* Add some new tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:24:17 +00:00
Robin Dunn
462c8b7932 * Flesh out wxConfig some more.
* Add ReadFloat, ReadBool, set ownership transfers for Set, etc.  
* Add unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-17 21:50:21 +00:00