Added QCursor test. It is related to bug #630.
Bug #630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int) http://bugs.openbossa.org/show_bug.cgi?id=630 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
bda10df1da
commit
42c9f80b06
2 changed files with 17 additions and 0 deletions
16
tests/QtGui/qcursor_test.py
Normal file
16
tests/QtGui/qcursor_test.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
'''Test for Bug 630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int)
|
||||
http://bugs.openbossa.org/show_bug.cgi?id=630
|
||||
'''
|
||||
|
||||
import unittest
|
||||
from PySide.QtGui import QBitmap, QCursor, QPixmap
|
||||
from helper import UsesQApplication
|
||||
|
||||
class TestQCursor(UsesQApplication):
|
||||
def testQCursorConstructor(self):
|
||||
bmp = QBitmap(16, 16)
|
||||
cursor = QCursor(bmp, bmp, 16, 16)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue