aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-09 16:13:39 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:47:57 -0300
commit02e4fa2b963b35d3a5cd737e3887938afb6da1e7 (patch)
tree62133c3fbebedd2010cb9d7833acc36eb4e8598b /tests
parent94d8426d1c47d6e761f07073b7e7c5960da9497e (diff)
Added unit test for bug#500
Reviewer: Lauro Mora <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/QtGui/CMakeLists.txt1
-rw-r--r--tests/QtGui/bug_500.py15
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/QtGui/CMakeLists.txt b/tests/QtGui/CMakeLists.txt
index 49e9f5ab6..df81b3d59 100644
--- a/tests/QtGui/CMakeLists.txt
+++ b/tests/QtGui/CMakeLists.txt
@@ -18,6 +18,7 @@ PYSIDE_TEST(bug_430.py)
PYSIDE_TEST(bug_433.py)
PYSIDE_TEST(bug_467.py)
PYSIDE_TEST(bug_480.py)
+PYSIDE_TEST(bug_500.py)
PYSIDE_TEST(customproxywidget_test.py)
PYSIDE_TEST(deepcopy_test.py)
PYSIDE_TEST(float_to_int_implicit_conversion_test.py)
diff --git a/tests/QtGui/bug_500.py b/tests/QtGui/bug_500.py
new file mode 100644
index 000000000..86114957b
--- /dev/null
+++ b/tests/QtGui/bug_500.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python
+
+import unittest
+
+from PySide.QtCore import *
+from PySide.QtGui import *
+from helper import UsesQApplication
+
+class NeverDiesTest(UsesQApplication):
+
+ def testIt(self):
+ QPrintDialog()
+
+if __name__ == "__main__":
+ unittest.main()