summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-01-03 14:33:44 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-04 06:01:33 +0100
commit20f0196a2cddf6927c34d8e3a93ea7ca074c7a53 (patch)
treea69ba5ef0022f36f1717e384a46ec1c2d6f4bdb7
parentedbd3d6a9430391843385b2466461426e1623e78 (diff)
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>
-rw-r--r--tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp b/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp
index bc2b1940b9..d0eb360d43 100644
--- a/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp
+++ b/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp
@@ -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");