Remove redundant debug code from QFileSystemWatcher test.
There is no need to print out the name of the backend used by each test run of a test function as every message output by the test function will have the name of the current data row included. Change-Id: Ie69881d2ecedce728ea67b5aae1c1196776552a5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
parent
edbd3d6a94
commit
20f0196a2c
@ -83,14 +83,13 @@ private slots:
|
||||
void tst_QFileSystemWatcher::basicTest_data()
|
||||
{
|
||||
QTest::addColumn<QString>("backend");
|
||||
QTest::newRow("native") << "native";
|
||||
QTest::newRow("poller") << "poller";
|
||||
QTest::newRow("native backend") << "native";
|
||||
QTest::newRow("poller backend") << "poller";
|
||||
}
|
||||
|
||||
void tst_QFileSystemWatcher::basicTest()
|
||||
{
|
||||
QFETCH(QString, backend);
|
||||
qDebug() << "Testing" << backend << "engine";
|
||||
|
||||
// create test file
|
||||
QFile testFile("testfile.txt");
|
||||
@ -223,7 +222,6 @@ void tst_QFileSystemWatcher::basicTest()
|
||||
void tst_QFileSystemWatcher::watchDirectory()
|
||||
{
|
||||
QFETCH(QString, backend);
|
||||
qDebug() << "Testing" << backend << "engine";
|
||||
|
||||
QDir().mkdir("testDir");
|
||||
QDir testDir("testDir");
|
||||
|
Loading…
Reference in New Issue
Block a user