diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2012-09-26 19:46:17 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-27 15:50:17 +0200 |
commit | 52e6a908bdf6e21b924d2d712c1786fb31686824 (patch) | |
tree | 217be13cc90bb97884c1ff1f4f7bf2a76e1d4366 /tests/auto/corelib/io | |
parent | 9e750d341ac7b03fa8f335065eb655d5e38b0d9d (diff) |
remove no-op test from tst_qfile
According to the repo history the tailFile was introduced with the
S60 port but the functionality it's testing was never implemented.
Task-number: QTBUG-22341
Change-Id: I16e8e43bbd799f05f8b136925cb0add0b918289e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qfile/tst_qfile.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index d0fa303573..fb2a223559 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -164,7 +164,6 @@ private slots: #if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) void largeUncFileSupport(); #endif - void tailFile(); void flush(); void bufferedRead(); void isSequential(); @@ -1536,28 +1535,6 @@ void tst_QFile::largeUncFileSupport() } #endif -void tst_QFile::tailFile() -{ - QSKIP("File change notifications are so far unsupported."); - - QFile file("tail.txt"); - QVERIFY(file.open(QFile::WriteOnly | QFile::Append)); - - QFile tailFile("tail.txt"); - QVERIFY(tailFile.open(QFile::ReadOnly)); - tailFile.seek(file.size()); - - QSignalSpy readSignalSpy(&tailFile, SIGNAL(readyRead())); - QVERIFY(readSignalSpy.isValid()); - - file.write("", 1); - - QTestEventLoop::instance().enterLoop(5); - - QVERIFY(!QTestEventLoop::instance().timeout()); - QCOMPARE(readSignalSpy.count(), 1); -} - void tst_QFile::flush() { QString fileName("stdfile.txt"); |