Fix BUG #1091 - "PixmapFragment and drawPixmapFragments are not bound"
See http://bugs.pyside.org/show_bug.cgi?id=1091. Also minor coding style fixes in QtGui's typesystem. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
parent
481ba5aa3e
commit
b2b14fe9b7
4 changed files with 100 additions and 74 deletions
|
|
@ -164,6 +164,9 @@ PYSIDE_TEST(virtual_protected_inheritance_test.py)
|
|||
PYSIDE_TEST(virtual_pure_override_test.py)
|
||||
PYSIDE_TEST(wrong_return_test.py)
|
||||
|
||||
if (${QTVERSION} VERSION_GREATER 4.6.9)
|
||||
PYSIDE_TEST(bug_1091.py)
|
||||
endif()
|
||||
|
||||
if(Q_WS_X11)
|
||||
PYSIDE_TEST(x11_symbols_test.py)
|
||||
|
|
|
|||
12
tests/QtGui/bug_1091.py
Normal file
12
tests/QtGui/bug_1091.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
''' unit test for BUG #1091 '''
|
||||
|
||||
import unittest
|
||||
from PySide import QtGui
|
||||
|
||||
class QPainterTestCase(unittest.TestCase):
|
||||
def testIt(self):
|
||||
self.assertTrue("PixmapFragment" in dir(QtGui.QPainter))
|
||||
self.assertTrue("drawPixmapFragments" in dir(QtGui.QPainter))
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue