summaryrefslogtreecommitdiffstats
path: root/tests/auto/headers/tst_headers.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-09-09 12:51:39 +0200
committerMartin Smith <msmith@trolltech.com>2009-09-09 12:52:22 +0200
commit8567a679b8960658c19ac75c32fb19c259a33e54 (patch)
treeffeb4cda54a8168137b56b71ed3d1a977bedb61f /tests/auto/headers/tst_headers.cpp
parent0e5baf40a7897e7f06456683fe11be6ceacd5ee0 (diff)
Fixed the headers autotest for the latest LPGL header.
The resource compiler still generates files that don't have the LPGL header.
Diffstat (limited to 'tests/auto/headers/tst_headers.cpp')
-rw-r--r--tests/auto/headers/tst_headers.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/headers/tst_headers.cpp b/tests/auto/headers/tst_headers.cpp
index 4a118fbc98..1b286481ec 100644
--- a/tests/auto/headers/tst_headers.cpp
+++ b/tests/auto/headers/tst_headers.cpp
@@ -187,8 +187,8 @@ void tst_Headers::licenseCheck()
if (content.first().contains("generated"))
content.takeFirst();
- QVERIFY(licensePattern.exactMatch(content.value(7)) ||
- licensePattern.exactMatch(content.value(4)));
+ QVERIFY(licensePattern.exactMatch(content.value(8)) ||
+ licensePattern.exactMatch(content.value(5)));
QString licenseType = licensePattern.cap(1);
int i = 0;
@@ -198,6 +198,7 @@ void tst_Headers::licenseCheck()
QCOMPARE(content.at(i++), QString("**"));
// QVERIFY(copyrightPattern.exactMatch(content.at(i++)));
i++;
+ i++;
QCOMPARE(content.at(i++), QString("** Contact: Nokia Corporation (qt-info@nokia.com)"));
}
QCOMPARE(content.at(i++), QString("**"));