summaryrefslogtreecommitdiff
path: root/tests/gi-tester
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2013-12-18 18:21:55 -0800
committerColin Walters <walters@verbum.org>2013-12-29 19:39:59 +0000
commit42bb69a6a2f12165a9758b192e80da089e00ab5c (patch)
tree332226245b57bfaf93e07414b7fac31aa3dea183 /tests/gi-tester
parent4e88f0eb1535cffa31d8fd15ba593ac0a09b670a (diff)
downloadgobject-introspection-42bb69a6a2f12165a9758b192e80da089e00ab5c.tar.gz
tests: Refactor test_parser and test_patterns to use unittest.TestSuite
Update both test_parser.py and test_patterns.py to dynamically generate TestCase sub-classes rather than modify a statically defined one. Use unittest.TestSuite to queue up the generated test cases via the "load_tests" hook. Use underscores instead of periods as a seperator for dynamically generated test cases and methods to match Python identifiers. Beyond general cleanup, these changes will help the ability to specify Python tests individually. https://bugzilla.gnome.org/show_bug.cgi?id=720713
Diffstat (limited to 'tests/gi-tester')
0 files changed, 0 insertions, 0 deletions