summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-31 12:24:46 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-31 05:27:56 +0100
commitbe16b833a5a017e4a93f27e8e9c56afced555a8d (patch)
treeb9dec305bf9d4d8a64912533c4a6c3f499b6be76 /tests/auto/corelib/io
parent31e3f783367be7d2f7fb1b992bd90c1b9eac8db9 (diff)
Remove debugging code from QFileSystemWatcher test
Any test diagnostics that are useful should be part of the regular test output, as the CI system cannot switch on commented-out code when there is a test failure. Change-Id: I201ba754df26ffc30997bead8b822f97913db2b6 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r--tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp b/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp
index fef2b4675e..63f51f743c 100644
--- a/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp
+++ b/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp
@@ -400,15 +400,6 @@ void tst_QFileSystemWatcher::removePaths()
watcher.removePaths(paths);
}
-#if 0
-class SignalTest : public QObject {
- Q_OBJECT
- public slots:
- void fileSlot(const QString &file) { qDebug() << "file " << file;}
- void dirSlot(const QString &dir) { qDebug() << "dir" << dir;}
-};
-#endif
-
void tst_QFileSystemWatcher::watchFileAndItsDirectory()
{
QFETCH(QString, backend);
@@ -433,12 +424,6 @@ void tst_QFileSystemWatcher::watchFileAndItsDirectory()
watcher.addPath(testDir.dirName());
watcher.addPath(testFileName);
- /*
- SignalTest signalTest;
- QObject::connect(&watcher, SIGNAL(fileChanged(const QString &)), &signalTest, SLOT(fileSlot(const QString &)));
- QObject::connect(&watcher, SIGNAL(directoryChanged(const QString &)), &signalTest, SLOT(dirSlot(const QString &)));
- */
-
QSignalSpy fileChangedSpy(&watcher, SIGNAL(fileChanged(const QString &)));
QSignalSpy dirChangedSpy(&watcher, SIGNAL(directoryChanged(const QString &)));
QEventLoop eventLoop;