diff options
author | João Abecasis <joao@trolltech.com> | 2010-01-27 19:26:26 (GMT) |
---|---|---|
committer | João Abecasis <joao@trolltech.com> | 2010-01-27 19:29:50 (GMT) |
commit | 21e0423a5c9ecd9da8e141dcfba25e60b55f7fe5 (patch) | |
tree | 56b39e582b494cc46216c6bda58581cf59347697 /tests/auto/qdiriterator/recursiveDirs | |
parent | 2877e3510db0cceeb4483b032fcc8f3bd61d28d5 (diff) | |
download | Qt-21e0423a5c9ecd9da8e141dcfba25e60b55f7fe5.zip Qt-21e0423a5c9ecd9da8e141dcfba25e60b55f7fe5.tar.gz Qt-21e0423a5c9ecd9da8e141dcfba25e60b55f7fe5.tar.bz2 |
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.
Diffstat (limited to 'tests/auto/qdiriterator/recursiveDirs')
-rw-r--r-- | tests/auto/qdiriterator/recursiveDirs/dir1/aPage.html | 8 | ||||
-rw-r--r-- | tests/auto/qdiriterator/recursiveDirs/dir1/textFileB.txt | 1 | ||||
-rw-r--r-- | tests/auto/qdiriterator/recursiveDirs/textFileA.txt | 1 |
3 files changed, 0 insertions, 10 deletions
diff --git a/tests/auto/qdiriterator/recursiveDirs/dir1/aPage.html b/tests/auto/qdiriterator/recursiveDirs/dir1/aPage.html deleted file mode 100644 index 51a2261..0000000 --- a/tests/auto/qdiriterator/recursiveDirs/dir1/aPage.html +++ /dev/null @@ -1,8 +0,0 @@ -<html xmlns="http://www.w3.org/1999/xhtml/"> - <head> - <title>A title</title> - </head> - <body> - <p>Some text</p> - </body> -</html> diff --git a/tests/auto/qdiriterator/recursiveDirs/dir1/textFileB.txt b/tests/auto/qdiriterator/recursiveDirs/dir1/textFileB.txt deleted file mode 100644 index 5b1dd02..0000000 --- a/tests/auto/qdiriterator/recursiveDirs/dir1/textFileB.txt +++ /dev/null @@ -1 +0,0 @@ -Some Text diff --git a/tests/auto/qdiriterator/recursiveDirs/textFileA.txt b/tests/auto/qdiriterator/recursiveDirs/textFileA.txt deleted file mode 100644 index 5b1dd02..0000000 --- a/tests/auto/qdiriterator/recursiveDirs/textFileA.txt +++ /dev/null @@ -1 +0,0 @@ -Some Text |