Changed qxmlstream unittest to remove its created file after run.

- Removes test.xml after test completed.

Change-Id: I548e2d644cca8ae0d30c3002df45cf57433170af
Reviewed-by: Kurt Korbatits  <kurt.korbatits@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bb10
Kurt Korbatits 2012-01-23 10:06:38 +10:00 committed by Qt by Nokia
parent 2d1150e6e3
commit 8820f83646
1 changed files with 6 additions and 0 deletions

View File

@ -532,6 +532,7 @@ public:
private slots:
void initTestCase();
void cleanupTestCase();
void reportFailures() const;
void reportFailures_data();
void checkBaseline() const;
@ -589,6 +590,11 @@ void tst_QXmlStream::initTestCase()
QVERIFY(reader.parse(&source, false));
}
void tst_QXmlStream::cleanupTestCase()
{
QFile::remove(QLatin1String("test.xml"));
}
void tst_QXmlStream::reportFailures() const
{
QFETCH(bool, isError);