From 6b9e2c85f144a44a2b5b664ee6772ec09e1ccc60 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Fri, 23 Jul 2021 21:00:05 +0200 Subject: tests: TestClient: Add both QString & QByteArray packet injection --- tests/TestClient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/TestClient.h') 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 + void inject(const String &xml) { d->stream->handleIqResponse(xmlToDom(xml)); QCoreApplication::processEvents(); -- cgit v1.2.3