Remove redundant debug code from QFileSystemWatcher test.
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 3 Jan 2012 04:33:44 +0000 (14:33 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 4 Jan 2012 05:01:33 +0000 (06:01 +0100)
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>
tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp

index bc2b194..d0eb360 100644 (file)
@@ -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");