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,20 +0,0 @@
|
|||
|
||||
import unittest
|
||||
|
||||
from PySide.QtCore import Qt
|
||||
from PySide.QtGui import QPen
|
||||
|
||||
class QPenTest(unittest.TestCase):
|
||||
|
||||
def testCtorWithCreatedEnums(self):
|
||||
'''A simple case of QPen creation using created enums.'''
|
||||
width = 0
|
||||
style = Qt.PenStyle(0)
|
||||
cap = Qt.PenCapStyle(0)
|
||||
join = Qt.PenJoinStyle(0)
|
||||
pen = QPen(Qt.blue, width, style, cap, join)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue