summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-17 13:44:53 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-17 07:21:11 +0100
commit6382d27abd3edcfab0e77fa3568ff5312a7d86c0 (patch)
tree7bae9825fdac50284c312bb52221429e3b255f70 /tests/auto
parent2b883dc9bb6cfd186a23a945597f67a9f9fc270e (diff)
Remove commented code from QBuffer autotest.
The removed code was commented-out before the tests were imported into the Qt repository in June 2006. This code is no longer valid as the warning messages it relates to are not produced by any code in qtbase. Change-Id: Iac63b27387b51a71c567386ca61faf5fb00c3364 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/io/qbuffer/tst_qbuffer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/corelib/io/qbuffer/tst_qbuffer.cpp b/tests/auto/corelib/io/qbuffer/tst_qbuffer.cpp
index c65da128bf..6bdc160b27 100644
--- a/tests/auto/corelib/io/qbuffer/tst_qbuffer.cpp
+++ b/tests/auto/corelib/io/qbuffer/tst_qbuffer.cpp
@@ -148,9 +148,6 @@ void tst_QBuffer::open()
// some status() tests, too
void tst_QBuffer::readBlock()
{
-// QTest::ignoreMessage(QtWarningMsg, "QIODevice::read: File not open");
-// QTest::ignoreMessage(QtWarningMsg, "QIODevice::read: Read operation not permitted");
-
const int arraySize = 10;
char a[arraySize];
QBuffer b;