Changed qchar unittest to check return from QFINDTESTDATA
- Changed qchar unittest to check string QFINDTESTDATA returns is not empty. Change-Id: Idb3997aaa5d5220272915c1e2538175205b3d6e8 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
c5b928207e
commit
95c5be8bc1
@ -580,7 +580,9 @@ void tst_QChar::normalization_data()
|
||||
int linenum = 0;
|
||||
int part = 0;
|
||||
|
||||
QFile f(QFINDTESTDATA("NormalizationTest.txt"));
|
||||
QString testFile = QFINDTESTDATA("NormalizationTest.txt");
|
||||
QVERIFY2(!testFile.isEmpty(), "NormalizationTest.txt not found!");
|
||||
QFile f(testFile);
|
||||
QVERIFY(f.exists());
|
||||
|
||||
f.open(QIODevice::ReadOnly);
|
||||
|
Loading…
Reference in New Issue
Block a user