summaryrefslogtreecommitdiff
path: root/tests/test_conversion.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Bug 613341 - pygobject tests seem to require pygtk causing a circular"Dieter Verfaillie2011-02-071-17/+0
| | | | This reverts commit 48f0a43f2faffee931ba419dac2687a93344bf5a.
* Bug 613341 - pygobject tests seem to require pygtk causing a circularGian Mario Tagliaretti2010-04-051-0/+17
| | | | | | dependencies problem move tests that require pygtk from pygobject to pygtk itself
* Bug 527212 – types with well-defined equality semantics are not properlyPaul Pogonyshev2008-08-021-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-02 Paul Pogonyshev <pogonyshev@gmx.net> Bug 527212 – types with well-defined equality semantics are not properly comparable * gtk/gdk.override (_wrap_pygdk_region_tp_richcompare): New function. * gtk/gdkcolor.override (_wrap_gdk_color_tp_richcompare): New function. * gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_richcompare): New function. * tests/test_conversion.py (testColorCreation): Move to thematic test file. * tests/Makefile.am: * tests/test_color.py: * tests/test_rectangle.py: Two new test files. 2008-08-02 Paul Pogonyshev <pogonyshev@gmx.net> Bug 527212 – types with well-defined equality semantics are not properly comparable * pygtk-gdkcolor.xml: Document new constructor option. Document proper comparison as of PyGTK 2.14. * pygtk-gdkregion.xml: Document proper comparison as of PyGTK 2.14. * pygtk-gdkrectangle.xml: Document proper comparison as of PyGTK 2.14. svn path=/trunk/; revision=3014
* Add constructor variant similar to what gtk.gdk.color_parse() done. RaisePaul Pogonyshev2008-04-271-0/+12
| | | | | | | | | | | | | 2008-04-27 Paul Pogonyshev <pogonyshev@gmx.net> * gtk/gdkcolor.override (_wrap_gdk_color_new): Add constructor variant similar to what gtk.gdk.color_parse() done. Raise with useful message in case of wrong arguments (bug #527718). * tests/test_conversion.py (Tests.testColorCreation): Test the new constructor with string argument. svn path=/trunk/; revision=2968
* pyflakesJohan Dahlin2006-04-031-2/+0
|
* Run reindent.py on all python codeJohan Dahlin2006-04-031-7/+7
|
* Add test for Table.attach which takes uint arguments.Johan Dahlin2005-08-241-0/+12
| | | | | | | | | | | 2005-08-24 Johan Dahlin <jdahlin@async.com.br> * tests/test_conversion.py (Tests.testUIntArg): Add test for Table.attach which takes uint arguments. * codegen/argtypes.py (UIntArg.write_param): One more take on fixing #300012, this time unsigned int conversion, patch by Gustavo.
* Use pyg_param_gvalue_from_pyobject in gobject.new, fixes unicharJohan Dahlin2005-07-041-47/+61
| | | | | | | | * gobject/gobjectmodule.c: (pyg_object_new): * tests/test_conversion.py: Use pyg_param_gvalue_from_pyobject in gobject.new, fixes unichar parameters specified from the constructor. Added unittests.
* New test.Johan Dahlin2005-03-161-0/+59
* tests/test_radiobutton.py (RadioButtonTest): New test. * tests: Renamed *.py to test_*.py