Created new unittest model.
Separete unittest for module.
Only run unittest for compiled modules.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
471486732b
commit
ab918abc1e
211 changed files with 241 additions and 79 deletions
|
|
@ -1,29 +0,0 @@
|
|||
|
||||
'''(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