diff options
author | Martin Smith <msmith@trolltech.com> | 2009-09-09 10:51:39 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-09-09 10:52:22 (GMT) |
commit | 8567a679b8960658c19ac75c32fb19c259a33e54 (patch) | |
tree | ffeb4cda54a8168137b56b71ed3d1a977bedb61f /tests/auto/headers | |
parent | 0e5baf40a7897e7f06456683fe11be6ceacd5ee0 (diff) | |
download | Qt-8567a679b8960658c19ac75c32fb19c259a33e54.zip Qt-8567a679b8960658c19ac75c32fb19c259a33e54.tar.gz Qt-8567a679b8960658c19ac75c32fb19c259a33e54.tar.bz2 |
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')
-rw-r--r-- | tests/auto/headers/tst_headers.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/headers/tst_headers.cpp b/tests/auto/headers/tst_headers.cpp index 4a118fb..1b28648 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("**")); |