aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-26 10:37:13 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-26 10:37:13 +0100
commit6e35066523b7a4e8a6679e8a878ff375eacb78e3 (patch)
treef8891b4218432e68e995feafa2884bd997eafa10 /tests
parentf72d7a2164ef592693525a591f11be1503972208 (diff)
downloadlibquotient-6e35066523b7a4e8a6679e8a878ff375eacb78e3.tar.gz
libquotient-6e35066523b7a4e8a6679e8a878ff375eacb78e3.zip
quotest: Refreshed a comment
[skip ci]
Diffstat (limited to 'tests')
-rw-r--r--tests/quotest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/quotest.cpp b/tests/quotest.cpp
index faad5a15..44a17baf 100644
--- a/tests/quotest.cpp
+++ b/tests/quotest.cpp
@@ -797,10 +797,6 @@ void TestManager::conclude()
htmlReport += "<br><strong>Did not finish:</strong>" + dnfList;
}
- // TODO: Waiting for proper futures to come so that it could be:
- // targetRoom->postHtmlText(...)
- // .then(this, &TestManager::finalize); // Qt-style or
- // .then([this] { finalize(); }); // STL-style
auto txnId = room->postHtmlText(plainReport, htmlReport);
// Now just wait until all the pending events reach the server
connectUntil(room, &Room::messageSent, this, [this, room, plainReport] {
@@ -817,6 +813,10 @@ void TestManager::conclude()
}
clog << "Leaving the room" << endl;
+ // TODO: Waiting for proper futures to come so that it could be:
+ // room->leaveRoom()
+ // .then(this, &TestManager::finalize); // Qt-style or
+ // .then([this] { finalize(); }); // STL-style
auto* job = room->leaveRoom();
connect(job, &BaseJob::finished, this, [this, job,plainReport] {
Q_ASSERT(job->status().good());