Remove debug code from QLocalSocket autotest.
Any test diagnostics that are useful should be part of the regular test output, as the CI system cannot switch on commented-out code when there is a test failure. Change-Id: Ie44b6ea8dd496857ea264f730148d3dc4f5c8324 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
8f7b138833
commit
37eb6c7d5c
@ -416,13 +416,7 @@ void tst_QLocalSocket::listenAndConnect()
|
||||
// Check first and last state
|
||||
QCOMPARE(qVariantValue<QLocalSocket::LocalSocketState>(spyStateChanged.first()[0]),
|
||||
QLocalSocket::ConnectingState);
|
||||
#if 0
|
||||
for (int j = 0; j < spyStateChanged.count(); ++j) {
|
||||
QLocalSocket::LocalSocketState s;
|
||||
s = qVariantValue<QLocalSocket::LocalSocketState>(spyStateChanged.at(j).at(0));
|
||||
qDebug() << s;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (canListen)
|
||||
QCOMPARE(qVariantValue<QLocalSocket::LocalSocketState>(spyStateChanged.last()[0]),
|
||||
QLocalSocket::ConnectedState);
|
||||
|
Loading…
Reference in New Issue
Block a user