~ubuntu-branches/ubuntu/oneiric/pyside/oneiric

« back to all changes in this revision

Viewing changes to tests/qtgui/missing_symbols_test.py

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2010-09-27 21:01:06 UTC
  • mfrom: (1.2.1 upstream) (6.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20100927210106-m1nrq8vmd3exqb9o
Tags: 0.4.1-0ubuntu1
* New 0.4.1 upstream release. (LP: #648612)
  - Add some 0.4.1 symbols.

* Patches:
  - u_c130273_fix_py25_QtScript_property.patch
    Remove, was from upstream.
  - u_20e226b_fix_missing_qcoreapplication_arguments_method.patch
    Remove, was from upstream.
  - u_268bf77_fixed_signal_signature_parser.patch
    Remove, was from upstream.
  + libPythonVersionPostfix.patch: Refresh
  + usePySpecificShiboken.patch: Refresh
  + lessBuildVerbosity.patch: Refresh

* Bump the B-D chain versions.
* Make sure the private.py is installed in QtCore module.
* Build against Qt 4.7.
  - Add libqtwebkit-dev
  - Drop QtMultimedia module.
  - Add the QtDeclarative package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
'''(Very) Simple test case for missing names from QtGui'''
3
 
 
4
 
import unittest
5
 
from PySide import QtGui
6
 
 
7
 
class MissingClasses(unittest.TestCase):
8
 
    def testQDrag(self): # Bug 222
9
 
        getattr(QtGui, 'QDrag')
10
 
 
11
 
    def testQDropEvent(self): # Bug 255
12
 
        getattr(QtGui, 'QDropEvent')
13
 
 
14
 
class MissingMembers(unittest.TestCase):
15
 
 
16
 
    def testQFontMetricsSize(self): # Bug 223
17
 
        QtGui.QFontMetrics.size
18
 
 
19
 
    def testQLayoutSetSpacing(self): # Bug 231
20
 
        QtGui.QLayout.setSpacing
21
 
 
22
 
    def testQImageLoad(self): # Bug 257
23
 
        QtGui.QImage.load
24
 
 
25
 
    def testQStandardItemModelinsertRow(self): # Bug 227
26
 
        QtGui.QStandardItemModel.insertRow
27
 
 
28
 
if __name__ == '__main__':
29
 
    unittest.main()