diff options
author | renato <renato.filho@openbossa.org> | 2010-04-16 16:14:03 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-04-22 14:47:17 -0300 |
commit | 3468ba1efffc17f532ca69007602e87f19245304 (patch) | |
tree | 658290e3cf82e16539fd34b9a834af7c8ac2eaa1 /tests | |
parent | de4a1a10b01f54ce03bc484f04f4294ba8b4d314 (diff) |
Implemented module QtMaemo5.
Create unittest for module.
Fixed generetion of typesystem_gui.xml based on detected system.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtmaemo5/qmaemo5import_test.py | 19 |
1 files changed, 19 insertions, 0 deletions
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() + |