GUITESTS: Rename variable for consistency.

This commit is contained in:
Kimmo Varis 2011-09-25 20:14:33 +03:00
parent 039291d9d4
commit a04d6b82f5
1 changed files with 6 additions and 6 deletions

View File

@ -65,9 +65,9 @@ void TestProjectFile::loadSimpleWithIgnore()
QCOMPARE(paths.size(), 2); QCOMPARE(paths.size(), 2);
QCOMPARE(paths[0], QString("gui/")); QCOMPARE(paths[0], QString("gui/"));
QCOMPARE(paths[1], QString("test/")); QCOMPARE(paths[1], QString("test/"));
QStringList ignores = pfile.GetExcludedPaths(); QStringList excludes = pfile.GetExcludedPaths();
QCOMPARE(ignores.size(), 1); QCOMPARE(excludes.size(), 1);
QCOMPARE(ignores[0], QString("gui/temp/")); QCOMPARE(excludes[0], QString("gui/temp/"));
QStringList defines = pfile.GetDefines(); QStringList defines = pfile.GetDefines();
QCOMPARE(defines.size(), 1); QCOMPARE(defines.size(), 1);
QCOMPARE(defines[0], QString("FOO")); QCOMPARE(defines[0], QString("FOO"));
@ -87,9 +87,9 @@ void TestProjectFile::loadSimpleNoroot()
QCOMPARE(paths.size(), 2); QCOMPARE(paths.size(), 2);
QCOMPARE(paths[0], QString("gui/")); QCOMPARE(paths[0], QString("gui/"));
QCOMPARE(paths[1], QString("test/")); QCOMPARE(paths[1], QString("test/"));
QStringList ignores = pfile.GetExcludedPaths(); QStringList excludes = pfile.GetExcludedPaths();
QCOMPARE(ignores.size(), 1); QCOMPARE(excludes.size(), 1);
QCOMPARE(ignores[0], QString("gui/temp/")); QCOMPARE(excludes[0], QString("gui/temp/"));
QStringList defines = pfile.GetDefines(); QStringList defines = pfile.GetDefines();
QCOMPARE(defines.size(), 1); QCOMPARE(defines.size(), 1);
QCOMPARE(defines[0], QString("FOO")); QCOMPARE(defines[0], QString("FOO"));