Age | Commit message (Collapse) | Author |
|
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.
|