aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/missing_symbols_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore/missing_symbols_test.py')
-rw-r--r--tests/QtCore/missing_symbols_test.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/QtCore/missing_symbols_test.py b/tests/QtCore/missing_symbols_test.py
new file mode 100644
index 000000000..f535c53d3
--- /dev/null
+++ b/tests/QtCore/missing_symbols_test.py
@@ -0,0 +1,16 @@
+
+'''(Very) Simple test case for missing names from QtCore'''
+
+import unittest
+from PySide import QtCore
+
+class MissingClasses(unittest.TestCase):
+
+ def testQSettings(self): # Bug 232
+ getattr(QtCore, 'QSettings')
+
+ def testQtTrNoop(self): # Bug 220
+ getattr(QtCore, 'QT_TR_NOOP')
+
+if __name__ == '__main__':
+ unittest.main()