summaryrefslogtreecommitdiff
path: root/tests/packager-tool
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2017-03-13 01:34:31 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2017-03-14 08:49:29 +0000
commitb8565f19911bb84be16e09967ff029b8991f063d (patch)
treebe812f6e68f6aafe6e90e3645b9a01510b934721 /tests/packager-tool
parent6c73901c09acd25dc423d4b55f840e4c447f4332 (diff)
downloadqtapplicationmanager-b8565f19911bb84be16e09967ff029b8991f063d.tar.gz
Replace all 0-pointers with C++11 nullptr
Change-Id: I86eebd1bc81cab41ab4278c3223984c87ef1c96e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'tests/packager-tool')
-rw-r--r--tests/packager-tool/tst_packager-tool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/packager-tool/tst_packager-tool.cpp b/tests/packager-tool/tst_packager-tool.cpp
index 6bda1a08..0f9afe8d 100644
--- a/tests/packager-tool/tst_packager-tool.cpp
+++ b/tests/packager-tool/tst_packager-tool.cpp
@@ -69,7 +69,7 @@ private:
bool createCode(TemporaryDir &tmp);
- ApplicationInstaller *m_ai = 0;
+ ApplicationInstaller *m_ai = nullptr;
TemporaryDir m_workDir;
QString m_devPassword;
@@ -106,7 +106,7 @@ void tst_PackagerTool::initTestCase()
m_ai = ApplicationInstaller::createInstance(locations, pathTo("manifests"), pathTo("image-mounts"), &errorString);
QVERIFY2(m_ai, qPrintable(errorString));
- QVERIFY2(ApplicationManager::createInstance(0, true, &errorString), qPrintable(errorString));
+ QVERIFY2(ApplicationManager::createInstance(nullptr, true, &errorString), qPrintable(errorString));
// crypto stuff - we need to load the root CA and developer CA certificates