summaryrefslogtreecommitdiff
path: root/tests/test_interface.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: consitent naming styleMartin Pitt2012-10-241-2/+2
| | | | | Stop mixing camel case and underline naming, use the latter consistently in all tests.
* Remove all tabs and fix indentationJohan Dahlin2012-03-221-1/+0
| | | | | By running the whole source tree via the indent.py script found in the Python distribution.
* Renamed "property" class to "Property"Simon Feltman2012-03-161-2/+2
| | | | | | | | | | | | Renamed to match the rest of the class names in GObject and also not clobber the builtin python property. Keep the old "property" identifier for backwards compatibility for now. https://bugzilla.gnome.org/show_bug.cgi?id=672168 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
* refactor tests to only use PyGObject 3 syntaxJohn (J5) Palmieri2011-08-111-8/+8
| | | | | | | | | | | * for PyGObject 3 we want to discourage the use of legacy interfaces * Using interfaces like from gi.repository import GObject makes sure that the internal _gobject module is loaded and not PyGObject 2's gobject module which would cause the application to not work correctly https://bugzilla.gnome.org/show_bug.cgi?id=642048
* Clean and improve the test infrastructureSimon van der Linden2010-07-291-1/+5
| | | | | | | | | To run select tests, use for instance: % make check TEST_NAMES='test_everything test_gi.TestConstant' It works with check.gdb and check.valgrind too. https://bugzilla.gnome.org/show_bug.cgi?id=625488
* Run pyflakes on the testsuite, remove unused imports and reorganizeJohan Dahlin2008-07-261-6/+3
| | | | | | | | | | | | | | | | | | | | 2008-07-26 Johan Dahlin <johan@gnome.org> * tests/common.py: * tests/test_conversion.py: * tests/test_enum.py: * tests/test_interface.py: * tests/test_option.py: * tests/test_source.py: * tests/test_subprocess.py: * tests/test_subtype.py: * tests/test_thread.py: * tests/test_unknown.py: Run pyflakes on the testsuite, remove unused imports and reorganize others. svn path=/trunk/; revision=859
* Add a property helper, fixes #338098Johan Dahlin2007-05-011-8/+3
| | | | | | | | | | | | | | | | | * 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
* interface fixes and testsGustavo J. A. M. Carneiro2006-08-271-1/+29
|
* Add Interface implementation testJohan Dahlin2006-07-101-0/+25