aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmpprostermanager/tst_qxmpprostermanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tests: RosterManager: Fix wrong server to/from addressLinus Jahn2023-04-071-8/+8
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-221-2/+4
| | | | | | | | This allows us to report different error types with more information and makes it possible to distinguish stanza errors and errors generated locally. Part of #501.
* Stream: Add IQ response sender checkLinus Jahn2022-12-281-8/+10
| | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510.
* Disable Qt keywords completelyLinus Jahn2022-12-261-6/+6
| | | | | | | | | | | | | | | Previously we had the policy that no qt keywords were allowed in headers that may be included by users. However since there was no automatic test verifying that in some places keywords were still used. This now disables qt keywords completely, also in tests and examples. Qt keywords are in general no good or really good idea as they even conflict with the standard library (`emit` at least). In some cases in the examples I just removed the slot tag if the functions didn't need to be slots (anymore). Closes #503.
* Convert copyright headers to REUSELinus Jahn2022-01-141-23/+4
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* tests: TestClient: Add both QString & QByteArray packet injectionLinus Jahn2021-08-011-4/+4
|
* RosterManager: Add unit tests for QFuture requestsLinus Jahn2021-07-061-1/+51
|
* RosterManager: Add subscription request signal with full presence (#346)Melvin Keskin2021-05-081-0/+22
| | | This makes it possible to get the statusText of subscription requests.
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* Correct authors of tests for Registration/RosterManagerLinus Jahn2020-04-011-2/+1
| | | | This was a copy-paste mistake.
* tests: Fix build with Qt 5.9Linus Jahn2020-04-011-3/+3
| | | | QCOMPARE(QString(), "") doesn't work there.
* Add tests for QXmppRosterManagerLinus Jahn2020-04-011-0/+110