Fixes bugs 739 and 752.
Bug #739 - Method "QTransform::map(qreal x, qreal y, qreal* tx, qreal* ty) const" missing Bug #752 - Method "void QSplitter::getRange(int index, int* min, int* max) const" missing Also added unit tests.
This commit is contained in:
parent
f1b3580d57
commit
77be0fc1a7
5 changed files with 74 additions and 4 deletions
16
tests/QtGui/qsplitter_test.py
Normal file
16
tests/QtGui/qsplitter_test.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import unittest
|
||||
from PySide.QtGui import QSplitter
|
||||
|
||||
from helper import UsesQApplication
|
||||
|
||||
class QSplitterTest(UsesQApplication):
|
||||
|
||||
def testGetRange(self):
|
||||
splitter = QSplitter()
|
||||
_min, _max = splitter.getRange(0)
|
||||
self.assert_(isinstance(_min, int))
|
||||
self.assert_(isinstance(_max, int))
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue