From 02e4fa2b963b35d3a5cd737e3887938afb6da1e7 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 9 Dec 2010 16:13:39 -0200 Subject: Added unit test for bug#500 Reviewer: Lauro Mora Marcelo Lira --- tests/QtGui/CMakeLists.txt | 1 + tests/QtGui/bug_500.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/QtGui/bug_500.py (limited to 'tests') 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() -- cgit v1.2.3