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>
This commit is contained in:
parent
2b883dc9bb
commit
6382d27abd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user