summaryrefslogtreecommitdiffstats
path: root/tests/test_properties.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug 577999 – converting a negative long Python value to a GUINT64 GValue ↵Gustavo J. A. M. Carneiro2009-04-051-0/+3
| | | | | | doesn't error out as it should svn path=/trunk/; revision=1054
* Allow gobject.property work with subclasses. Add tests.Johan Dahlin2008-03-211-0/+35
| | | | | | | | | | | | | 2008-03-21 Johan Dahlin <johan@gnome.org> * gobject/__init__.py: * tests/test_properties.py: Allow gobject.property work with subclasses. Add tests. (#523352, Tomeu Vizoso) svn path=/trunk/; revision=752
* Refactor a bit to make sure that it is possible to use in subclasses,Johan Dahlin2007-08-271-0/+14
| | | | | | | | | | | 2007-08-27 Johan Dahlin <jdahlin@async.com.br> * gobject/__init__.py (GObjectMeta._install_properties): Refactor a bit to make sure that it is possible to use in subclasses, fixes #470718 (Marco Giusti) svn path=/trunk/; revision=699
* Bug 470230 – check for default value in boolean type is wrongGustavo J. A. M. Carneiro2007-08-271-1/+13
| | | | svn path=/trunk/; revision=698
* Support type=GObject or type=TYPE_OBJECT in the new properties API.Gustavo J. A. M. Carneiro2007-06-161-0/+14
| | | | svn path=/trunk/; revision=675
* Store property values in the descriptor per instance, add a test.Johan Dahlin2007-05-021-0/+12
| | | | | | | | | | * gobject/propertyhelper.py: * tests/test_properties.py: Store property values in the descriptor per instance, add a test. svn path=/trunk/; revision=665
* Add a property helper, fixes #338098Johan Dahlin2007-05-011-46/+124
| | | | | | | | | | | | | | | | | * examples/properties.py: * gobject/Makefile.am: * gobject/__init__.py: * gobject/constants.py.in: * gobject/generate-constants.c: (main): * gobject/propertyhelper.py: * tests/Makefile.am: * tests/test_enum.py: * tests/test_interface.py: * tests/test_properties.py: Add a property helper, fixes #338098 svn path=/trunk/; revision=662
* Unit test for get/set_properties.Gustavo J. A. M. Carneiro2007-04-231-0/+8
| | | | svn path=/trunk/; revision=647
* reviewed by: Johan Dahlin <johan@gnome.org>Yevgen Muntyan2006-11-181-1/+73
| | | | | | | | | | | | | 2006-11-18 Yevgen Muntyan <muntyan@tamu.edu> reviewed by: Johan Dahlin <johan@gnome.org> * gobject/gobjectmodule.c: (create_property): * gobject/pygparamspec.c: (pyg_param_spec_getattr): * tests/test_properties.py: Avoid truncating in pyg_param_spec_getattr, add test for all non-float numeric types. Fixes #353943
* reindentJohan Dahlin2006-04-111-6/+6
|
* unit test for #335854Gustavo J. A. M. Carneiro2006-04-011-1/+11
|
* guint64 property fixGustavo J. A. M. Carneiro2005-10-021-2/+3
|
* add (disabled) uint64 testJohan Dahlin2005-10-021-3/+19
|
* Raise an exception if a construct only property is set after constructionJohan Dahlin2005-07-101-29/+53
| | | | | | | | | * gobject/pygobject.c: (PyGProps_setattro), (pygobject_set_property): * tests/test_properties.py: Raise an exception if a construct only property is set after construction time. Refactor property setting code and add some more tests.
* Bug 161177: Allow creation of python classes from g_object_newGustavo J. A. M. Carneiro2005-07-091-9/+26
|
* And unittest..Johan Dahlin2005-07-081-0/+54