summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-05-05 17:17:12 +0200
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-05-05 15:17:36 +0000
commitdc238c7ef47610e3c5490646755928cdf8d961e8 (patch)
tree9dbb885378e87694838de566b1a963b47f91511a /tests
parentaeb130a607e559c313eb3164ee4ded09993051d9 (diff)
Fix broken auto-tests.
Still tst_PackageManagerCore is failing, though did so before this change too. Change-Id: Ib1f7bddb597676c58d00ff52d42ff7c9c7ba8ecd Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/installer/componentmodel/tst_componentmodel.cpp3
-rw-r--r--tests/auto/installer/repository/tst_repository.cpp1
-rw-r--r--tests/environmentvariable/environmentvariabletest.cpp4
3 files changed, 1 insertions, 7 deletions
diff --git a/tests/auto/installer/componentmodel/tst_componentmodel.cpp b/tests/auto/installer/componentmodel/tst_componentmodel.cpp
index 290f0d733..287c1bb42 100644
--- a/tests/auto/installer/componentmodel/tst_componentmodel.cpp
+++ b/tests/auto/installer/componentmodel/tst_componentmodel.cpp
@@ -1,9 +1,6 @@
#include "component.h"
#include "componentmodel.h"
-
#include "kdupdaterupdatesinfo_p.h"
-#include "kdupdaterupdatesourcesinfo.h"
-
#include "packagemanagercore.h"
#include <QTest>
diff --git a/tests/auto/installer/repository/tst_repository.cpp b/tests/auto/installer/repository/tst_repository.cpp
index 380d9a9a2..8d5d278a2 100644
--- a/tests/auto/installer/repository/tst_repository.cpp
+++ b/tests/auto/installer/repository/tst_repository.cpp
@@ -1,5 +1,6 @@
#include "repository.h"
+#include <QDataStream>
#include <QString>
#include <QTest>
diff --git a/tests/environmentvariable/environmentvariabletest.cpp b/tests/environmentvariable/environmentvariabletest.cpp
index 806b8f736..d82098680 100644
--- a/tests/environmentvariable/environmentvariabletest.cpp
+++ b/tests/environmentvariable/environmentvariabletest.cpp
@@ -37,8 +37,6 @@
#include "init.h"
-#include <kdupdaterapplication.h>
-
#include <QDir>
#include <QDirIterator>
#include <QFileInfo>
@@ -55,7 +53,6 @@ void EnvironmentVariableTest::testPersistentNonSystem()
#ifndef Q_OS_WIN
QSKIP("This operation only works on Windows");
#endif
- KDUpdater::Application app;
QString key = QLatin1String("IFW_TestKey");
QString value = QLatin1String("IFW_TestValue");
QInstaller::EnvironmentVariableOperation op;
@@ -84,7 +81,6 @@ void EnvironmentVariableTest::testNonPersistentNonSystem()
#ifndef Q_OS_WIN
QSKIP("This operation only works on Windows");
#endif
- KDUpdater::Application app;
QString key = QLatin1String("IFW_TestKey");
QString value = QLatin1String("IFW_TestValue");
QInstaller::EnvironmentVariableOperation op;