From 8567a679b8960658c19ac75c32fb19c259a33e54 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Wed, 9 Sep 2009 12:51:39 +0200 Subject: Fixed the headers autotest for the latest LPGL header. The resource compiler still generates files that don't have the LPGL header. --- tests/auto/headers/tst_headers.cpp | 5 +++-- 1 file 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("**")); -- cgit v0.12