Skip to content

Commit 214ccab

Browse files
committed
???
1 parent 781924e commit 214ccab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

quotest/quotest.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,9 @@ TestManager::TestManager(int& argc, char** argv)
198198
clog.flush();
199199
// NOLINTEND(cppcoreguidelines-pro-bounds-pointer-arithmetic)
200200

201+
qWarning() << "Connecting to connected";
201202
connect(c, &Connection::connected, this, [this] {
203+
qWarning() << "Connected";
202204
if (QUO_ALARM(c->homeserver().isEmpty() || !c->homeserver().isValid())
203205
|| QUO_ALARM(c->domain() != c->userId().section(u':', 1))) {
204206
clog << "Connection information doesn't look right, "
@@ -252,17 +254,21 @@ TestManager::TestManager(int& argc, char** argv)
252254

253255
void TestManager::setupAndRun()
254256
{
257+
qWarning() << 1;
255258
Q_ASSERT(!c->homeserver().isEmpty() && c->homeserver().isValid());
256259
Q_ASSERT(c->domain() == c->userId().section(u':', 1));
257260
clog << "Connected, server: " << c->homeserver().toDisplayString().toStdString() << '\n'
258261
<< "Access token: " << c->accessToken().toStdString() << endl;
259262

263+
qWarning() << 2;
260264
connect(c, &Connection::loadedRoomState, this, &TestManager::onNewRoom);
261265

262266
c->setLazyLoading(true);
263267

268+
qWarning() << 3;
264269
clog << "Joining " << targetRoomName.toStdString() << endl;
265270
c->joinAndGetRoom(targetRoomName).then(this, [this](Room* room) {
271+
qWarning() << 4;
266272
if (!room) {
267273
clog << "Failed to join the test room" << endl;
268274
finalize();
@@ -965,7 +971,6 @@ void TestManager::finalize(const QString& lastWords)
965971
clog << "Logging out" << endl;
966972
c->logout().then(
967973
this, [this, lastWords] {
968-
//clog << lastWords.toStdString() << endl;
969974
QCoreApplication::exit(!testSuite ? -3
970975
: succeeded.empty() && failed.empty()
971976
&& running.empty()

0 commit comments

Comments
 (0)