Fix tests. Regular expression should support french names.
--HG-- branch : develop
This commit is contained in:
parent
d9f93a28e4
commit
cbfe69756f
|
@ -102,8 +102,11 @@ void TST_NameRegExp::TestNameRegExp_data()
|
||||||
tag = localeName+QLatin1String(". Any next character can't be \"")+decimalPoint+QLatin1String("\"");
|
tag = localeName+QLatin1String(". Any next character can't be \"")+decimalPoint+QLatin1String("\"");
|
||||||
QTest::newRow(qUtf8Printable(tag)) << QLatin1String("a")+decimalPoint << false;
|
QTest::newRow(qUtf8Printable(tag)) << QLatin1String("a")+decimalPoint << false;
|
||||||
|
|
||||||
tag = localeName+QLatin1String(". Any next character can't be \"")+groupSeparator+QLatin1String("\"");
|
if (groupSeparator != '\'')
|
||||||
QTest::newRow(qUtf8Printable(tag)) << QLatin1String("a")+groupSeparator << false;
|
{
|
||||||
|
tag = localeName+QLatin1String(". Any next character can't be \"")+groupSeparator+QLatin1String("\"");
|
||||||
|
QTest::newRow(qUtf8Printable(tag)) << QLatin1String("a")+groupSeparator << false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QTest::newRow("First character can't be \"+\"") << "+a" << false;
|
QTest::newRow("First character can't be \"+\"") << "+a" << false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user