summaryrefslogtreecommitdiffstats
path: root/tests/environmentvariable
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-07-07 11:32:13 +0200
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-07-10 08:54:06 +0000
commit38799ceaf111fb44665c1dd0e33896120d175ebc (patch)
tree7c3215dad4ec9f8962c44f2a915ba7809859cf45 /tests/environmentvariable
parent39a56f719a24a75e303d3a34f73a9c8cb1a01a34 (diff)
Make use of the new varadic template feature + cosmetic changes.
Change constructor to take the a package manager argument. Add a package manager member to the operation. Remove setter function. Change-Id: Iffb860e24089beb6496ac4ee479d547a29463728 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'tests/environmentvariable')
-rw-r--r--tests/environmentvariable/environmentvariabletest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/environmentvariable/environmentvariabletest.cpp b/tests/environmentvariable/environmentvariabletest.cpp
index d82098680..5d0f4672e 100644
--- a/tests/environmentvariable/environmentvariabletest.cpp
+++ b/tests/environmentvariable/environmentvariabletest.cpp
@@ -55,7 +55,7 @@ void EnvironmentVariableTest::testPersistentNonSystem()
#endif
QString key = QLatin1String("IFW_TestKey");
QString value = QLatin1String("IFW_TestValue");
- QInstaller::EnvironmentVariableOperation op;
+ QInstaller::EnvironmentVariableOperation op(0);
op.setArguments( QStringList() << key
<< value
<< QLatin1String("true")
@@ -83,7 +83,7 @@ void EnvironmentVariableTest::testNonPersistentNonSystem()
#endif
QString key = QLatin1String("IFW_TestKey");
QString value = QLatin1String("IFW_TestValue");
- QInstaller::EnvironmentVariableOperation op;
+ QInstaller::EnvironmentVariableOperation op(0);
op.setArguments( QStringList() << key
<< value
<< QLatin1String("false")