diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-03 15:34:17 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-10 14:57:41 -0300 |
commit | e39bfefde9edda662f51eeaf9a482f209c7f1217 (patch) | |
tree | a4add52f8ca3460fcaed99c6d9c7fc810f341a49 /tests/QtCore/qbytearray_operator_iadd_test.py | |
parent | 24a944590663582df72aefd1929ec19ba3c6414f (diff) |
Remove wrapper for classes: QString, QStringRef, QLatin1String, QStringMatcher, QChar and QLatin1Char.
Diffstat (limited to 'tests/QtCore/qbytearray_operator_iadd_test.py')
-rw-r--r-- | tests/QtCore/qbytearray_operator_iadd_test.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/QtCore/qbytearray_operator_iadd_test.py b/tests/QtCore/qbytearray_operator_iadd_test.py index 168f22de9..f92fc1964 100644 --- a/tests/QtCore/qbytearray_operator_iadd_test.py +++ b/tests/QtCore/qbytearray_operator_iadd_test.py @@ -2,12 +2,12 @@ import unittest import new -from PySide.QtCore import QByteArray, QString +from PySide.QtCore import * from helper.docmodifier import DocModifier class BaseQByteArrayOperatorIAdd(object): '''Base class for QByteArray += operator tests. - + Implementing classes should inherit from unittest.TestCase and implement setUp, setting self.obj and self.orig_obj to the target QByteArray and original one, respectively''' @@ -41,13 +41,6 @@ class BaseQByteArrayOperatorIAdd(object): self.assertEqual(self.obj, self.orig_obj + s) self.assertEqual(self.obj.size(), self.orig_obj.size() + 1) - def testQString(self): - '''QByteArray += QString''' - s = QString('dummy') - self.obj += s - self.assertEqual(self.obj, self.orig_obj + s) - self.assertEqual(self.obj.size(), self.orig_obj.size() + s.size()) - class NullQByteArrayOperatorIAdd(unittest.TestCase, BaseQByteArrayOperatorIAdd): '''Test case for operator QByteArray += on null QByteArrays''' |