summaryrefslogtreecommitdiffstats
path: root/tests/test_gtype.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug 613341 - pygobject tests seem to require pygtk causing a circularGian Mario Tagliaretti2010-04-051-112/+0
| | | | | | dependencies problem move tests that require pygtk to pygtk itself
* Bug 559001 – Allow setting pytype wrapper classmarklee2009-03-221-0/+19
| | | | | | | | | | | | initial patch by: John Ehresman <jpe@wingware.com> * gobject/pygtype.c (_wrap_g_type_wrapper__set_pytype): New function. * tests/test_gtype.py (GTypeTest.assertPyType), (GTypeTest.setInvalidPyType), (GTypeTest.testPyType), (GTypeTest.testInvalidPyType): Two new testcases to test the above, with accompanying helper methods. svn path=/trunk/; revision=1030
* Bug 351072 – Cannot handle signals with parameter type G_TYPE_VALUE ↵Gustavo J. A. M. Carneiro2007-07-071-0/+5
| | | | | | (marshal/unmarshal for GValue-wrapped GValue) svn path=/trunk/; revision=680
* reviewed by: Johan DahlinSebastian Granjoux2007-07-021-0/+13
| | | | | | | | | | | | | | | 2007-07-02 Sebastian Granjoux <seb.sfo@free.fr> reviewed by: Johan Dahlin * gobject/gobjectmodule.c: (pyg_gerror_exception_check): * tests/test_gtype.py: * tests/testhelpermodule.c: (_wrap_test_gerror_exception): Fix a bug in pyg_error_exception_check, add a test, Fixes #449879 svn path=/trunk/; revision=678
* Treat None in a GValueArray as pointer/NULL, patch by Ed Catmur, fixesJohan Dahlin2007-04-301-1/+9
| | | | | | | | | | | | | | 2007-04-29 Johan Dahlin <johan@gnome.org> * gobject/pygtype.c: (pyg_value_array_from_pyobject): * tests/test_gtype.py: * tests/testhelpermodule.c: (_wrap_test_value_array): Treat None in a GValueArray as pointer/NULL, patch by Ed Catmur, fixes #352209. svn path=/trunk/; revision=656
* reindentJohan Dahlin2006-04-111-6/+6
|
* Split out PyGObject from PyGTK.Johan Dahlin2006-01-091-4/+4
|
* Add GType.is_a and deprecate gobject.type_* Update tests and makeJohan Dahlin2005-07-051-11/+11
| | | | | | | | | | | | | * gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name), (pyg_type_parent), (pyg_type_is_a), (pyg_type_children), (pyg_type_interfaces), (get_type_name_for_class), (initgobject): * gobject/pygtype.c: (_wrap_g_type_is_a), (pyg_type_wrapper_init): * tests/test_enum.py: * tests/test_gtype.py: * tests/test_unknown.py: Add GType.is_a and deprecate gobject.type_* Update tests and make GType.is_a/gobject.type_is_a return a bool instead of int
* Add support for specifying name for a GObject subclass, usingJohan Dahlin2005-07-051-1/+8
| | | | | | | | | | | * gobject/gobjectmodule.c: (_wrap_pyg_type_register), (get_type_name_for_class), (pyg_type_register): * gobject/pygobject-private.h: * gobject/pygobject.c: (pygobjectmeta_register), (pygobjectmeta_init): * tests/test_gtype.py: Add support for specifying name for a GObject subclass, using __gtype_name__. Add a unittest. Fixes #169498
* New test.Johan Dahlin2005-03-161-0/+60
* tests/test_radiobutton.py (RadioButtonTest): New test. * tests: Renamed *.py to test_*.py