Fix QDirIterator auto test
commit21e0423a5c9ecd9da8e141dcfba25e60b55f7fe5
authorJoão Abecasis <joao@trolltech.com>
Wed, 27 Jan 2010 19:26:26 +0000 (27 20:26 +0100)
committerJoão Abecasis <joao@trolltech.com>
Wed, 27 Jan 2010 19:29:50 +0000 (27 20:29 +0100)
tree56b39e582b494cc46216c6bda58581cf59347697
parent2877e3510db0cceeb4483b032fcc8f3bd61d28d5
Fix QDirIterator auto test

The test depended on being run inside the source directory, because of
a dummy file hierarchy present there.

With these changes the needed hierarchy is generated on the fly and
cleaned up at the end of the test.

Also removed garbage at the end of tst_QDirIterator::stopLinkLoop.
Cleanup is done in test destructor.
tests/auto/qdiriterator/entrylist/directory/dummy [deleted file]
tests/auto/qdiriterator/entrylist/file [deleted file]
tests/auto/qdiriterator/foo/bar/readme.txt [deleted file]
tests/auto/qdiriterator/recursiveDirs/dir1/aPage.html [deleted file]
tests/auto/qdiriterator/recursiveDirs/dir1/textFileB.txt [deleted file]
tests/auto/qdiriterator/recursiveDirs/textFileA.txt [deleted file]
tests/auto/qdiriterator/tst_qdiriterator.cpp