From 3468ba1efffc17f532ca69007602e87f19245304 Mon Sep 17 00:00:00 2001 From: renato Date: Fri, 16 Apr 2010 16:14:03 -0300 Subject: Implemented module QtMaemo5. Create unittest for module. Fixed generetion of typesystem_gui.xml based on detected system. Reviewer: Hugo Parente Lima , Luciano Wolf --- tests/qtmaemo5/qmaemo5import_test.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/qtmaemo5/qmaemo5import_test.py (limited to 'tests/qtmaemo5') diff --git a/tests/qtmaemo5/qmaemo5import_test.py b/tests/qtmaemo5/qmaemo5import_test.py new file mode 100644 index 000000000..a003f056a --- /dev/null +++ b/tests/qtmaemo5/qmaemo5import_test.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +import unittest +from PySide.QtMaemo5 import * +from PySide import QtGui + +from helper import UsesQApplication + +class QtMamo5Test(UsesQApplication): + + def testObjectCreate(self): + bar = QMaemo5EditBar() + self.assert_(isinstance(bar, QMaemo5EditBar)) + + def testGui(self): + getattr(QtGui, 'QAbstractKineticScroller') + +if __name__ == '__main__': + unittest.main() + -- cgit v1.2.3