Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-21 | Uri: support abbreviated types in Matrix URIs | Alexey Rusakov | |
As per the latest iteration of MSC2312, room/, user/ and event/ are only supported for parsing and replication but not for emitting from Matrix identifiers. | |||
2021-01-08 | quotest: use the target room for loadMembers test | Kitsune Ral | |
Now that we've crowded it with a few synthetic users, lazy-loading of members doesn't some other room to get tested. Bonus: Connection::roomByAlias() has its own very simple test now. | |||
2021-01-07 | Prefer connecting to BaseJob::result(), not finished() | Kitsune Ral | |
...because finished() includes abandoning and should only be relevant when lifecycle issues are involved. | |||
2020-12-28 | Cleanup and clang-tidy/clazy fixes | Kitsune Ral | |
(cherry picked from commit 56c1db077b5da653c230432abc6c746318a77bed) | |||
2020-12-24 | quotest: wait until the final report is actually sent | Kitsune Ral | |
Previously the code was waiting until an arbitrary event is sent. | |||
2020-12-24 | Fix clang-tidy/clazy warnings | Kitsune Ral | |
2020-12-10 | Uri: fix a few cases of insufficient escaping | Kitsune Ral | |
2020-11-26 | quotest: Refreshed a comment | Kitsune Ral | |
[skip ci] | |||
2020-09-11 | Uri::toUrl(): fix incorrect matrix.to rep | Kitsune Ral | |
The first character inside the fragment should be / | |||
2020-08-22 | quotest: fix changeName test failures | Kitsune Ral | |
Member renames upon profile changes don't come right away, it turns out; so check User::nameChanged instead of Room::memberRenamed. | |||
2020-08-04 | quotest: don't fail on past name changes coming in sync | Kitsune 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. | |||
2020-08-04 | Quotest: fix whitespacesmissing ina log line | Kitsune Ral | |
2020-08-03 | quotest: clean up the room state after testing | Kitsune Ral | |
2020-08-03 | quotest: use #test instead of #quotient in loadMembers test | Kitsune 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-02 | quotest: add changeName test | Kitsune Ral | |
2020-07-22 | quotest: Minor refactoring of basic URI tests | Kitsune Ral | |
2020-07-21 | Uri: bare-sigil URIs are invalid | Kitsune Ral | |
2020-07-19 | MatrixUri->Uri: Extend to non-Matrix URIs | Kitsune Ral | |
2020-07-18 | quotest: unit tests for MatrixUri | Kitsune Ral | |
2020-07-18 | class MatrixUri; support action=join and via= | Kitsune Ral | |
2020-07-18 | quotest: consolidate processing of syncDone() | Kitsune Ral | |
2020-07-18 | quotest: delay sync start till after joining | Kitsune Ral | |
To ensure that the sync returns the details of the room just joined. | |||
2020-07-18 | ResourceResolver | Kitsune 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-18 | quotest: log final report as late as possible | Kitsune Ral | |
...to spare the developer from scrolling up in the search of it. | |||
2020-06-10 | Room: fix messageSent() being emitted too early | Kitsune Ral | |
Closes #406. | |||
2020-06-10 | TestSuite::sendRedaction: fix a stale TODO | Kitsune Ral | |
Add another TODO instead :-| | |||
2020-06-10 | quotest: make sure to send all events before leaving | Kitsune Ral | |
2020-04-15 | Connection: connectToServer -> loginWithPassword | Kitsune Ral | |
connectToServer() is left for compatibility but deprecated. | |||
2020-03-29 | quotest: minor cleanup | Kitsune Ral | |
2020-02-18 | [quotest] Refactor Cmake files with variable project name | Alexey Andreev | |
Signed-off-by: Alexey Andreev <aa13q@ya.ru> | |||
2019-12-13 | quotest: cleanup | Kitsune Ral | |
2019-10-21 | Quotest: more work on test invocation | Kitsune 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-21 | Quotest: use clog instead of cout | Kitsune 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-21 | Quotest: derive TestManager from QCoreApplication | Kitsune 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-21 | tests/CMakeLists.txt: QMC -> Quotient; add Qt5::Test to deps | Kitsune Ral | |
2019-10-20 | Quotest: factor out tests into TestSuite; rework sync tests | Kitsune Ral | |
Synchronous tests now use QSignalSpy instead of connecting to the signal just before its emission. | |||
2019-10-18 | TestManager::setTopic: add debug logging | Kitsune Ral | |
2019-10-18 | qmc-example -> quotest, QMCTest -> TestManager | Kitsune Ral | |
Also: some bits of refactoring in the test code to make it more extensible. Closes #352. |