diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-12 18:10:48 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-14 14:13:39 -0200 |
commit | ad2d6b21584e608f39379491eb0acd338899c4c9 (patch) | |
tree | a2809ad28dc254499ac20b30693bc14cdd64cd68 /tests | |
parent | 75a4dd209fc4ae361e5a7a947ace43656a1593df (diff) |
- Removed QTextStream with QByteArray const reference and added the ctors with QByteArray and QString pointers.
- Added QTextStream::string()
- Added QTextStream::codec()
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtcore/qtextstream_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtcore/qtextstream_test.py b/tests/qtcore/qtextstream_test.py index b5b044ce9..3ce198b4e 100644 --- a/tests/qtcore/qtextstream_test.py +++ b/tests/qtcore/qtextstream_test.py @@ -17,6 +17,7 @@ class QTextStreamShiftTest(unittest.TestCase): '''QTextStream << number''' self.write << QString('4') + self.write.flush() res = self.read.readLine() self.assert_(isinstance(res, QString)) self.assertEqual(res, QString('4')) |