diff options
Diffstat (limited to 'tests/auto/installer/cliinterface/tst_cliinterface.cpp')
-rw-r--r-- | tests/auto/installer/cliinterface/tst_cliinterface.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/installer/cliinterface/tst_cliinterface.cpp b/tests/auto/installer/cliinterface/tst_cliinterface.cpp index 364d9ae9d..bdf57541f 100644 --- a/tests/auto/installer/cliinterface/tst_cliinterface.cpp +++ b/tests/auto/installer/cliinterface/tst_cliinterface.cpp @@ -159,6 +159,17 @@ private slots: QVERIFY(dir.removeRecursively()); } + void testNoDefaultInstallations() + { + PackageManagerCore *core = PackageManager::getPackageManagerWithInit + (m_installDir, ":///data/installPackagesRepository"); + core->setNoDefaultInstallation(true); + core->installDefaultComponentsSilently(); + VerifyInstaller::verifyFileExistence(m_installDir, QStringList() << "components.xml" + << "installcontentE.txt"); + core->setNoDefaultInstallation(false); + } + void testInstallForcedPackageSilently() { PackageManagerCore *core = PackageManager::getPackageManagerWithInit |