summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-08-29 12:56:06 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-09-04 10:41:53 +0200
commit77b1e168202e8781ddfe5c06fc1ceaea5934e855 (patch)
treeffcd3040a42ffd5086b34a034d042b0d65143aa3 /tests
parente9e26f11d78def8ad8cb8f1864c61d88e3a1f0be (diff)
Split and implement new installer base, update checker.
Based on the former patches, split the installer base into its own class. Use the new binary content read functions. Adjust uses to match the new classes. Adjust installer base /update checker signature and inheritance. Remove all now superfluous functions from binary content. Core engine instantiates the operations now, makes reading and writing more generic. Move product key check into QInstaller namespace. Make use of the new command line parser. Change-Id: I00aff79085b69ce627906881b43f374681ea7e91 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/installer/packagemanagercore/tst_packagemanagercore.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/installer/packagemanagercore/tst_packagemanagercore.cpp b/tests/auto/installer/packagemanagercore/tst_packagemanagercore.cpp
index e82162444..304f6376b 100644
--- a/tests/auto/installer/packagemanagercore/tst_packagemanagercore.cpp
+++ b/tests/auto/installer/packagemanagercore/tst_packagemanagercore.cpp
@@ -104,7 +104,8 @@ private slots:
setIgnoreMessage(testDirectory);
- PackageManagerCore core(QInstaller::BinaryContent::MagicInstallerMarker);
+ PackageManagerCore core(QInstaller::BinaryContent::MagicInstallerMarker,
+ QList<QInstaller::OperationBlob>());
// cancel the installer in error case
core.autoRejectMessageBoxes();
core.appendRootComponent(new DummyComponent(&core));
@@ -132,7 +133,8 @@ private slots:
setIgnoreMessage(testDirectory);
- PackageManagerCore core(QInstaller::BinaryContent::MagicInstallerMarker);
+ PackageManagerCore core(QInstaller::BinaryContent::MagicInstallerMarker,
+ QList<QInstaller::OperationBlob>());
// cancel the installer in error case
core.autoRejectMessageBoxes();
core.appendRootComponent(new DummyComponent(&core));