summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp3
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echozonedservice.cpp3
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro2
3 files changed, 5 insertions, 3 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp
index c3edac1..3e81ded 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp
@@ -28,6 +28,7 @@
****************************************************************************/
#include "echoservice.h"
+#include <QtIviRemoteObjectsHelper>
#include <QTimer>
EchoService::EchoService()
@@ -75,7 +76,7 @@ QVariant EchoService::voidSlot2(int param)
QVariant EchoService::timer(int interval)
{
static quint64 counter = 0;
- EchoPendingResult pendingResult(counter++, false);
+ QIviRemoteObjectPendingResult pendingResult(counter++, false);
QTimer::singleShot(interval, this, [this, pendingResult](){
emit pendingResultAvailable(pendingResult.id(), true, QVariant());
});
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echozonedservice.cpp b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echozonedservice.cpp
index 8476f35..40ad3c0 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echozonedservice.cpp
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echozonedservice.cpp
@@ -28,6 +28,7 @@
#include "echozonedservice.h"
+#include <QtIviRemoteObjectsHelper>
#include <QTimer>
#define SET_VALUE(m_VALUE, VALUE, CHANGED_SIGNAL) \
@@ -236,7 +237,7 @@ QVariant EchoZonedService::getCombo(const QString &zone)
QVariant EchoZonedService::timer(int interval, const QString &zone)
{
static quint64 counter = 0;
- EchoZonedPendingResult pendingResult(counter++, false);
+ QIviRemoteObjectPendingResult pendingResult(counter++, false);
QTimer::singleShot(interval, this, [this, pendingResult, zone](){
emit pendingResultAvailable(pendingResult.id(), true, zone);
});
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro
index ba49e98..85a933f 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro
@@ -1,7 +1,7 @@
TARGET = tst_org-example-echo-qtro
QMAKE_PROJECT_NAME = $$TARGET
QT -= gui
-QT += testlib ivicore
+QT += testlib ivicore iviremoteobjects_helper_private
LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
DESTDIR = ..