diff options
| author | Linus Jahn <lnj@kaidan.im> | 2021-07-23 21:00:05 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2021-08-01 17:30:45 +0200 |
| commit | 6b9e2c85f144a44a2b5b664ee6772ec09e1ccc60 (patch) | |
| tree | 3f80c76a1511f2c7f057725f685ec7a72d35edd7 /tests/TestClient.h | |
| parent | 6766329e35adb6803d8dc1bb92e0b6d243dad466 (diff) | |
| download | qxmpp-6b9e2c85f144a44a2b5b664ee6772ec09e1ccc60.tar.gz | |
tests: TestClient: Add both QString & QByteArray packet injection
Diffstat (limited to 'tests/TestClient.h')
| -rw-r--r-- | tests/TestClient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestClient.h b/tests/TestClient.h index d11e1398..2dda4055 100644 --- a/tests/TestClient.h +++ b/tests/TestClient.h @@ -54,7 +54,8 @@ public: { } - void inject(const QByteArray &xml) + template<typename String> + void inject(const String &xml) { d->stream->handleIqResponse(xmlToDom(xml)); QCoreApplication::processEvents(); |
