Age | Commit message (Collapse) | Author |
|
Member renames upon profile changes don't come right away, it turns out;
so check User::nameChanged instead of Room::memberRenamed.
|
|
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.
|
|
|
|
|
|
#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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To ensure that the sync returns the details of the room just joined.
|
|
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.
|
|
...to spare the developer from scrolling up in the search of it.
|
|
Closes #406.
|
|
Add another TODO instead :-|
|
|
|
|
connectToServer() is left for compatibility but deprecated.
|
|
|
|
|
|
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.
|
|
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.
|
|
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().
|
|
Synchronous tests now use QSignalSpy instead of connecting to the signal
just before its emission.
|
|
|
|
Also: some bits of refactoring in the test code
to make it more extensible. Closes #352.
|