aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/missing_symbols_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtGui/missing_symbols_test.py')
-rw-r--r--tests/QtGui/missing_symbols_test.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/QtGui/missing_symbols_test.py b/tests/QtGui/missing_symbols_test.py
new file mode 100644
index 000000000..de23c569e
--- /dev/null
+++ b/tests/QtGui/missing_symbols_test.py
@@ -0,0 +1,29 @@
+
+'''(Very) Simple test case for missing names from QtGui'''
+
+import unittest
+from PySide import QtGui
+
+class MissingClasses(unittest.TestCase):
+ def testQDrag(self): # Bug 222
+ getattr(QtGui, 'QDrag')
+
+ def testQDropEvent(self): # Bug 255
+ getattr(QtGui, 'QDropEvent')
+
+class MissingMembers(unittest.TestCase):
+
+ def testQFontMetricsSize(self): # Bug 223
+ QtGui.QFontMetrics.size
+
+ def testQLayoutSetSpacing(self): # Bug 231
+ QtGui.QLayout.setSpacing
+
+ def testQImageLoad(self): # Bug 257
+ QtGui.QImage.load
+
+ def testQStandardItemModelinsertRow(self): # Bug 227
+ QtGui.QStandardItemModel.insertRow
+
+if __name__ == '__main__':
+ unittest.main()