aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-08-22quotest: fix FTBFS after a sloppy cherry-pickKitsune Ral
2020-08-22quotest: fix changeName test failuresKitsune Ral
Member renames upon profile changes don't come right away, it turns out; so check User::nameChanged instead of Room::memberRenamed.
2020-08-04quotest: fix the log wordingKitsune Ral
2020-08-04quotest: don't fail on past name changes coming in syncKitsune Ral
Sync may bring past events in a few batches, it turns out, and quotest used to choke on name changes from its own past executions. Also: fix whitespacesmissing ina log line.
2020-08-04quotest: clean up the room state after testingKitsune Ral
2020-08-03quotest: use #test instead of #quotient in loadMembers testKitsune Ral
#quotient:matrix.org is a primary channel to talk to users and developers, and events produced by changeName test come really noisy. #test:matrix.org is a perfect place to test things out, OTOH.
2020-08-02quotest: add changeName testKitsune Ral
2020-07-22quotest: Minor refactoring of basic URI testsKitsune Ral
2020-07-21Uri: bare-sigil URIs are invalidKitsune Ral
2020-07-19MatrixUri->Uri: Extend to non-Matrix URIsKitsune Ral
2020-07-18quotest: unit tests for MatrixUriKitsune Ral
2020-07-18class MatrixUri; support action=join and via=Kitsune Ral
2020-07-18quotest: consolidate processing of syncDone()Kitsune Ral
2020-07-18quotest: delay sync start till after joiningKitsune Ral
To ensure that the sync returns the details of the room just joined.
2020-07-18ResourceResolverKitsune Ral
Introducing the uniform way to resolve Matrix URIs and identifiers to Room/User objects, passing an optional event id (if supplied) to the client-defined handler. Just call ResourceResolver::visitResource() or ResourceResolver::openResource() and you'll have that string parsed and dispatched where you need.
2020-07-18quotest: log final report as late as possibleKitsune Ral
...to spare the developer from scrolling up in the search of it.
2020-06-10Room: fix messageSent() being emitted too earlyKitsune Ral
Closes #406.
2020-06-10TestSuite::sendRedaction: fix a stale TODOKitsune Ral
Add another TODO instead :-|
2020-06-10quotest: make sure to send all events before leavingKitsune Ral
2020-04-15Connection: connectToServer -> loginWithPasswordKitsune Ral
connectToServer() is left for compatibility but deprecated.
2020-03-29quotest: minor cleanupKitsune Ral
2020-02-18[quotest] Refactor Cmake files with variable project nameAlexey Andreev
Signed-off-by: Alexey Andreev <aa13q@ya.ru>
2019-12-13quotest: cleanupKitsune Ral
2019-10-21Quotest: more work on test invocationKitsune Ral
Tests should be private slots, not public slots; and they are invoked through a QueuedConnection so that both sync and async tests could be processed uniformly with clear code.
2019-10-21Quotest: use clog instead of coutKitsune Ral
Because cout is not synchronised with stderr and the library's debug printing is not aligned with that from quotest. qDebug()/qWarn() would probably be even better, for consistency; but require switching from std::string to QString.
2019-10-21Quotest: derive TestManager from QCoreApplicationKitsune Ral
Also: joining the test room didn't survive being a test in its own right and has been reverted to be a part of setupAndRun().
2019-10-21tests/CMakeLists.txt: QMC -> Quotient; add Qt5::Test to depsKitsune Ral
2019-10-20Quotest: factor out tests into TestSuite; rework sync testsKitsune Ral
Synchronous tests now use QSignalSpy instead of connecting to the signal just before its emission.
2019-10-18TestManager::setTopic: add debug loggingKitsune Ral
2019-10-18qmc-example -> quotest, QMCTest -> TestManagerKitsune Ral
Also: some bits of refactoring in the test code to make it more extensible. Closes #352.