--- a/tests/auto/qsslsocket/tst_qsslsocket.cpp Tue Jan 26 12:42:25 2010 +0200
+++ b/tests/auto/qsslsocket/tst_qsslsocket.cpp Tue Feb 02 00:43:10 2010 +0200
@@ -347,7 +347,6 @@
QCOMPARE(socket.sslConfiguration(), QSslConfiguration::defaultConfiguration());
QCOMPARE(socket.errorString(), QString("Unknown error"));
char c = '\0';
- QTest::ignoreMessage(QtWarningMsg, "QIODevice::getChar: Closed device");
QVERIFY(!socket.getChar(&c));
QCOMPARE(c, '\0');
QVERIFY(!socket.isOpen());
@@ -1755,9 +1754,7 @@
socket->close();
QVERIFY(!socket->bytesAvailable());
QVERIFY(!socket->bytesToWrite());
- socket->waitForDisconnected();
- QVERIFY(!socket->bytesAvailable());
- QVERIFY(!socket->bytesToWrite());
+ QVERIFY(socket->state() == QAbstractSocket::UnconnectedState);
}
void tst_QSslSocket::writeBigChunk()