diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-06-10 14:16:24 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-06-10 15:31:19 +0200 |
commit | 073d04f1c2c5dc7020469bfc92708dce634f4779 (patch) | |
tree | b482b622bc5af19fa9419663b2b8de1634b5e1a2 /tests/auto | |
parent | 98da12415aa8bb7497120cd841e7a798e3e5206e (diff) | |
download | qt4-tools-073d04f1c2c5dc7020469bfc92708dce634f4779.tar.gz |
QLocalSocket: don't emit readChannelFinished() twice on Windows
Reviewed-by: ossi
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qlocalsocket/tst_qlocalsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp index 87a30c2186..d2cba6ecb5 100644 --- a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp +++ b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp @@ -1004,7 +1004,7 @@ void tst_QLocalSocket::writeToClientAndDisconnect() timeout -= timestep; } while (!readChannelFinishedSpy.count() && timeout > 0); - QVERIFY(!readChannelFinishedSpy.isEmpty()); + QCOMPARE(readChannelFinishedSpy.count(), 1); QCOMPARE(client.read(buffer, sizeof(buffer)), (qint64)sizeof(buffer)); QCOMPARE(client.state(), QLocalSocket::UnconnectedState); } |