From d2e0b8fc3b6f144db21c2989dd73aadc30443114 Mon Sep 17 00:00:00 2001 From: Karsten Heimrich Date: Thu, 21 Jan 2016 08:35:26 +0100 Subject: Fix build after merge. Change-Id: I03b7f65e9a2b5ce16160f9059e70a064e354a6c7 Reviewed-by: Christian Stenger --- tests/auto/installer/scriptengine/tst_scriptengine.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/auto/installer/scriptengine/tst_scriptengine.cpp b/tests/auto/installer/scriptengine/tst_scriptengine.cpp index df8d1a8b7..48223a821 100644 --- a/tests/auto/installer/scriptengine/tst_scriptengine.cpp +++ b/tests/auto/installer/scriptengine/tst_scriptengine.cpp @@ -33,7 +33,8 @@ #include #include -#include +#include +#include #include #include #include @@ -160,7 +161,9 @@ signals: class EmptyArgOperation : public KDUpdater::UpdateOperation { public: - EmptyArgOperation() { + explicit EmptyArgOperation(QInstaller::PackageManagerCore *core) + : KDUpdater::UpdateOperation(core) + { setName("EmptyArg"); } @@ -174,9 +177,6 @@ public: bool testOperation() { return true; } - UpdateOperation *clone() const { - return 0; - } }; @@ -281,7 +281,7 @@ private slots: // ignore Output from script setExpectedScriptOutput("function receive()"); - QTest::ignoreMessage(QtWarningMsg, ":10: ReferenceError: foo is not defined"); + QTest::ignoreMessage(QtWarningMsg, ":43: ReferenceError: foo is not defined"); emiter.produceSignal(); const QJSValue value = m_scriptEngine->evaluate(""); -- cgit v1.2.3