summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/installer/commandlineupdate/tst_commandlineupdate.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/installer/commandlineupdate/tst_commandlineupdate.cpp b/tests/auto/installer/commandlineupdate/tst_commandlineupdate.cpp
index 78ee7b5b6..bf6d8729a 100644
--- a/tests/auto/installer/commandlineupdate/tst_commandlineupdate.cpp
+++ b/tests/auto/installer/commandlineupdate/tst_commandlineupdate.cpp
@@ -81,6 +81,12 @@ private slots:
<< "installcontentB.txt" << "installcontentD.txt");
}
+ void testUpdateNoUpdatesForSelectedPackage()
+ {
+ setRepository(":///data/installPackagesRepositoryUpdate");
+ QVERIFY(!core->updateComponentsSilently(QStringList() << "componentInvalid"));
+ }
+
void testUpdateTwoPackageSilently()
{
setRepository(":///data/installPackagesRepository");