Commit Graph

13 Commits

Author SHA1 Message Date
Robin Dunn
b037c4e7cb Turn "public" back on after emitting some private methods 2017-08-29 16:23:49 -07:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Robin Dunn
97947ba176 DnD of text or files to wx.TextCtrl doesn't work on OSX (Apple doesn't let us override the build-in behavior I think) so don't use a wx.TextCrtl for the drop target. 2016-08-02 15:08:44 -07: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
9289a7cf84 Various tweaks and updates for unittests 2015-03-25 20:40:01 -07:00
Robin Dunn
86cc655950 Ensure all dataobj classes have declarations for the base class pure virtuals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:48 +00:00
Robin Dunn
5882e525e3 Fix context manager support for wx.TheClipboard.
Add some more clipboard tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:31 +00:00
Robin Dunn
ef97269bc7 Skip the wxDF_TEXT versions of the tests if on Mac (until it is fixed). Add similar tests using a custom data format.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 05:15:28 +00:00
Robin Dunn
b2224f6492 Add wx.HTMLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 19:26:49 +00:00
Robin Dunn
b41df0b779 Many, many (many!) changes needed to build and run the Phoenix extension modules with Python 3. Where possible changes were made such that the code works with both Python 2.7 and 3.2 without conditionals. In general the following types of changes were made:
* Changed imports to use either absolute or explicit relative imports.  Implicit relative imports are no longer allowed.

 * Changes to accomodate standard library classes or modues moving to other locations, or being removed entirely.

 * Changes related to print becoming a function, execfile being removed, u'' no longer allowed, and other syntax related issues.

 * Working around C APIs that have changed or simply vanished. (PyInt, PyString, PyBytes, etc.)

 * Dealing with text file objects using strings vs binary file objects using bytes, auto-encoding, and etc.

 * Replacing the use of PyCObject with PyCapsule and dealing with an apparent bug where PyCapsule objects can't be imported from submodules within a package.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:28:02 +00:00
Robin Dunn
aa5bc9b6b6 * Add the rest of the wx.DataObject classes and unittests.
* Enable all the important virtual methods to be overridden in Pytyhon subclasses.
* Use Python buffer object APIs and objects for data transfer where appropriate.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:37 +00:00
Robin Dunn
317f312acc Lotsa new unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:59:15 +00:00