mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refs #605, fixed unit test itself
* threaded reader were normal members causing a crash when those were moved in their own thread * we need own event processing for unit test * Network request needs to be generated in main thread * don`t shutdown readers on QCoreApplication::aboutToQuit, let CApplication handle it * use CApplication in unit test (as in real world) Unrelated: * access global setup via application
This commit is contained in:
committed by
Mathew Sutcliffe
parent
12957f8ec0
commit
f124412896
@@ -84,6 +84,8 @@ namespace BlackCoreTest
|
||||
qDebug() << "DISCONNECTED";
|
||||
})
|
||||
.wait(10);
|
||||
|
||||
QThread::msleep(250); // make sure the last debug messages are written
|
||||
}
|
||||
|
||||
bool CTestNetwork::pingServer(const CServer &server)
|
||||
|
||||
Reference in New Issue
Block a user