Add test for QUrl::isLocalFile (there weren't any).

Change-Id: I839d2eee7b0651700516d6140635151a52a9fa40
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
David Faure 2012-03-02 15:46:39 +01:00 committed by Qt by Nokia
parent 47cdc50bbc
commit 676304e706

View File

@ -1001,6 +1001,7 @@ void tst_QUrl::toLocalFile()
QUrl url(theUrl);
QCOMPARE(url.toLocalFile(), theFile);
QCOMPARE(url.isLocalFile(), !theFile.isEmpty());
}
void tst_QUrl::fromLocalFile_data()