diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index c189f16d..fbb40afd 100644 --- a/quotest/quotest.cpp +++ b/quotest/quotest.cpp @@ -252,17 +252,21 @@ TestManager::TestManager(int& argc, char** argv) void TestManager::setupAndRun() { + qWarning() << 1; Q_ASSERT(!c->homeserver().isEmpty() && c->homeserver().isValid()); Q_ASSERT(c->domain() == c->userId().section(u':', 1)); clog << "Connected, server: " << c->homeserver().toDisplayString().toStdString() << '\n' << "Access token: " << c->accessToken().toStdString() << endl; + qWarning() << 2; connect(c, &Connection::loadedRoomState, this, &TestManager::onNewRoom); c->setLazyLoading(true); + qWarning() << 3; clog << "Joining " << targetRoomName.toStdString() << endl; c->joinAndGetRoom(targetRoomName).then(this, [this](Room* room) { + qWarning() << 4; if (!room) { clog << "Failed to join the test room" << endl; finalize(); @@ -965,7 +969,6 @@ void TestManager::finalize(const QString& lastWords) clog << "Logging out" << endl; c->logout().then( this, [this, lastWords] { - //clog << lastWords.toStdString() << endl; QCoreApplication::exit(!testSuite ? -3 : succeeded.empty() && failed.empty() && running.empty()