GUITESTS: Rename variable for consistency.
This commit is contained in:
parent
039291d9d4
commit
a04d6b82f5
|
@ -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"));
|
||||||
|
|
Loading…
Reference in New Issue