summaryrefslogtreecommitdiffstats
path: root/tests/QtGui/qcursor_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtGui/qcursor_test.py')
-rw-r--r--tests/QtGui/qcursor_test.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/QtGui/qcursor_test.py b/tests/QtGui/qcursor_test.py
new file mode 100644
index 00000000..ec758d4f
--- /dev/null
+++ b/tests/QtGui/qcursor_test.py
@@ -0,0 +1,16 @@
+'''Test for Bug 630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int)
+http://bugs.openbossa.org/show_bug.cgi?id=630
+'''
+
+import unittest
+from PySide.QtGui import QBitmap, QCursor, QPixmap
+from helper import UsesQApplication
+
+class TestQCursor(UsesQApplication):
+ def testQCursorConstructor(self):
+ bmp = QBitmap(16, 16)
+ cursor = QCursor(bmp, bmp, 16, 16)
+
+if __name__ == '__main__':
+ unittest.main()
+