aboutsummaryrefslogtreecommitdiff
path: root/tests/util.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix discovery manager incoming request handlingLinus Jahn2023-01-221-1/+5
| | | | Fixes #529.
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-0/+13
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Add multithreaded hashing functionsLinus Jahn2022-09-161-1/+2
|
* tests: utils: Add missing <memory> includeLinus Jahn2022-09-141-0/+1
|
* tests: util: wait: Check whether spy.wait() succeededLinus Jahn2022-09-121-1/+1
|
* tests: util: Add wait(QFuture) functionLinus Jahn2022-09-091-0/+12
| | | | | | | The function uses a QSignalSpy and a QFutureWatcher to wait for the future's result. It blocks until the result is there. However it still runs the event loop, so processing of the future can be done in the background.
* tests: util: Add expectVariant() helperLinus Jahn2022-09-091-8/+17
| | | | | | We had expectFutureVariant() which is useful for futures with a variant type. This new function can check the type of just a variant and outputs the value.
* Apply 'clang-format' (#429)Melvin Keskin2022-05-281-1/+3
|
* Run 'clang-format' on all filesMelvin Keskin2022-01-151-1/+1
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-24/+5
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* tests: util: Allow using ' instead of " in xmlLinus Jahn2021-08-011-3/+8
| | | | serializePacket now accepts both `'` and `"`.
* tests: util: Add new packetToXml() functionLinus Jahn2021-08-011-6/+13
|
* tests: TestClient: Add both QString & QByteArray packet injectionLinus Jahn2021-08-011-1/+2
|
* tests: Add TestClient class for client testing with QFuturesLinus Jahn2021-07-061-1/+19
|
* tests: util: Add xmlToDom() helperLinus Jahn2021-06-301-4/+14
|
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* tests: util: Add writePacketToDom() helperLinus Jahn2020-04-011-0/+14
| | | | It is used in multiple places now.
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-1/+2
|
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Add a .clang-format somewhat close to the current style0xd34df00d2019-12-231-4/+3
|
* Modernize codebase using clang-tidyJonah Brüchert2019-09-081-2/+2
| | | | | | | | Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* move TestPasswordChecker to test utilitiesJeremy Lainé2015-08-151-0/+31
|
* update project homepageJeremy Lainé2014-03-281-1/+1
|
* update project homepageJeremy Lainé2014-03-271-1/+1
|
* update copyright notice to 2008-2014Jeremy Lainé2014-03-261-1/+1
|
* start splitting testsJeremy Lainé2012-09-271-0/+48