Add test for bug#640.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
c5fffa6f24
commit
629c0c383b
2 changed files with 12 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ PYSIDE_TEST(bug_575.py)
|
||||||
PYSIDE_TEST(bug_576.py)
|
PYSIDE_TEST(bug_576.py)
|
||||||
PYSIDE_TEST(bug_585.py)
|
PYSIDE_TEST(bug_585.py)
|
||||||
PYSIDE_TEST(bug_589.py)
|
PYSIDE_TEST(bug_589.py)
|
||||||
|
PYSIDE_TEST(bug_640.py)
|
||||||
PYSIDE_TEST(customproxywidget_test.py)
|
PYSIDE_TEST(customproxywidget_test.py)
|
||||||
PYSIDE_TEST(deepcopy_test.py)
|
PYSIDE_TEST(deepcopy_test.py)
|
||||||
PYSIDE_TEST(float_to_int_implicit_conversion_test.py)
|
PYSIDE_TEST(float_to_int_implicit_conversion_test.py)
|
||||||
|
|
|
||||||
11
tests/QtGui/bug_640.py
Normal file
11
tests/QtGui/bug_640.py
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
import sys
|
||||||
|
from PySide.QtGui import *
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
class Bug640(unittest.TestCase):
|
||||||
|
def testIt(self):
|
||||||
|
option = QStyleOptionGraphicsItem()
|
||||||
|
a = option.state # crash!?
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue