mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kio: use QDir::exists() to check for directory existence in test case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c5c68413f7
commit
1ca6bbb3ee
1 changed files with 1 additions and 1 deletions
|
@ -1078,7 +1078,7 @@ void JobTest::deleteManyDirs(bool using_fast_path)
|
|||
bool ok = KIO::NetAccess::synchronousRun(job, 0);
|
||||
QVERIFY(ok);
|
||||
Q_FOREACH(const KUrl& dir, dirs) {
|
||||
QVERIFY(!QFile::exists(dir.path()));
|
||||
QVERIFY(!QDir(dir.path()).exists());
|
||||
}
|
||||
|
||||
kDebug() << "Deleted" << numDirs << "dirs in" << dt.elapsed() << "milliseconds";
|
||||
|
|
Loading…
Add table
Reference in a new issue