diff options
author | jkobus <jaroslaw.kobus@digia.com> | 2014-07-02 12:38:39 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@digia.com> | 2014-07-03 12:20:32 +0200 |
commit | d847723173a5cd2bb2eb27ff0eb45ae323c8070a (patch) | |
tree | 01cf03e2a45eaf546710bc5234abdcf028c166de /tests | |
parent | abca171c2ac3d926eb573b48debfc9714ea47ef6 (diff) |
Rename pathes -> paths
Change-Id: I9ad2e5eba7df180dec63ec171d5260c01d9715b2
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/installer/consumeoutputoperationtest/tst_consumeoutputoperationtest.cpp | 2 | ||||
-rw-r--r-- | tests/auto/installer/settingsoperation/tst_settingsoperation.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/installer/consumeoutputoperationtest/tst_consumeoutputoperationtest.cpp b/tests/auto/installer/consumeoutputoperationtest/tst_consumeoutputoperationtest.cpp index 14977aa1d..f31f9cf53 100644 --- a/tests/auto/installer/consumeoutputoperationtest/tst_consumeoutputoperationtest.cpp +++ b/tests/auto/installer/consumeoutputoperationtest/tst_consumeoutputoperationtest.cpp @@ -83,7 +83,7 @@ private slots: QFile orgQmake(QUOTE(QMAKE_BINARY)); // use lrelease filename which will be patched by the QtPatch operation, but it hides that this - // fake Qt contains a qmake which would be used to get the patch pathes (instead of using the qmake + // fake Qt contains a qmake which would be used to get the patch paths (instead of using the qmake // output we want to use our installer value) m_binaryInFakeQt = m_fakeQtPath + "bin" + QDir::separator() + "lrelease" + m_binSuffix; diff --git a/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp b/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp index 4d9582095..72aba9a5f 100644 --- a/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp +++ b/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp @@ -62,7 +62,7 @@ private slots: m_testSettingsFilename = "test.ini"; QSettings testSettings(QDir(m_testSettingsDirPath).filePath(m_testSettingsFilename), QSettings::IniFormat); - m_cleanupFilePathes << QDir(m_testSettingsDirPath).filePath(m_testSettingsFilename); + m_cleanupFilePaths << QDir(m_testSettingsDirPath).filePath(m_testSettingsFilename); testSettings.setValue("testkey", "testvalue"); testSettings.setValue("testcategory/categorytestkey", "categorytestvalue"); testSettings.setValue("testcategory/categoryarrayvalue1", QStringList() << "value1" << @@ -113,7 +113,7 @@ private slots: { const QString verifyFilePath = createFilePath(QTest::currentTestFunction()); const QString testFilePath = createFilePath(QString("_") + QTest::currentTestFunction()); - m_cleanupFilePathes << verifyFilePath << testFilePath; + m_cleanupFilePaths << verifyFilePath << testFilePath; const QString key = "category/key"; const QString value = "value"; @@ -157,7 +157,7 @@ private slots: const QString testFilePath = createFilePath(QTest::currentTestFunction()); QFile testFile(QDir(m_testSettingsDirPath).filePath(m_testSettingsFilename)); QVERIFY2(testFile.copy(testFilePath), testFile.errorString().toLatin1()); - m_cleanupFilePathes << testFilePath; + m_cleanupFilePaths << testFilePath; const QString key = "testkey"; QString testValueString; @@ -296,7 +296,7 @@ private slots: // called after all tests void cleanupTestCase() { - foreach (const QString &filePath, m_cleanupFilePathes) + foreach (const QString &filePath, m_cleanupFilePaths) QFile(filePath).remove(); } private: @@ -316,7 +316,7 @@ private: QString m_testSettingsFilename; QString m_testSettingsDirPath; - QStringList m_cleanupFilePathes; + QStringList m_cleanupFilePaths; }; QTEST_MAIN(tst_settingsoperation) |