Added all original pyside unit tests to the shiboken version.
This commit is contained in:
parent
aa12538d63
commit
9af36fbb64
160 changed files with 6616 additions and 12 deletions
29
tests/qtgui/missing_symbols_test.py
Normal file
29
tests/qtgui/missing_symbols_test.py
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
|
||||
'''(Very) Simple test case for missing names from QtGui'''
|
||||
|
||||
import unittest
|
||||
from PySide import QtGui
|
||||
|
||||
class MissingClasses(unittest.TestCase):
|
||||
def testQDrag(self): # Bug 222
|
||||
getattr(QtGui, 'QDrag')
|
||||
|
||||
def testQDropEvent(self): # Bug 255
|
||||
getattr(QtGui, 'QDropEvent')
|
||||
|
||||
class MissingMembers(unittest.TestCase):
|
||||
|
||||
def testQFontMetricsSize(self): # Bug 223
|
||||
QtGui.QFontMetrics.size
|
||||
|
||||
def testQLayoutSetSpacing(self): # Bug 231
|
||||
QtGui.QLayout.setSpacing
|
||||
|
||||
def testQImageLoad(self): # Bug 257
|
||||
QtGui.QImage.load
|
||||
|
||||
def testQStandardItemModelinsertRow(self): # Bug 227
|
||||
QtGui.QStandardItemModel.insertRow
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue