From 6382d27abd3edcfab0e77fa3568ff5312a7d86c0 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Thu, 17 Nov 2011 13:44:53 +1000 Subject: 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 --- tests/auto/corelib/io/qbuffer/tst_qbuffer.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/auto') 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; -- cgit v1.2.3