aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/missing_symbols_test.py
blob: de23c569e01293328965066b31434225c23808c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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()