Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
4d83c159
Commit
4d83c159
authored
Apr 29, 2021
by
David Edmundson
Browse files
Make KIOslave test more robust
KCoreDirLister is backed by a 200ms timer which means it can have stale results.
parent
9eb6e160
Changes
1
Hide whitespace changes
Inline
Side-by-side
kioslave/desktop/tests/kio_desktop_test.cpp
View file @
4d83c159
...
...
@@ -172,9 +172,7 @@ private Q_SLOTS:
// check that KDirLister now has the correct item (#382341)
if
(
lister
)
{
const
KFileItem
fileItem
=
lister
->
findByUrl
(
destUrl
);
QVERIFY
(
!
fileItem
.
isNull
());
QCOMPARE
(
fileItem
.
targetUrl
(),
QUrl
::
fromLocalFile
(
destFilePath
));
QTRY_COMPARE
(
lister
->
findByUrl
(
destUrl
).
targetUrl
(),
QUrl
::
fromLocalFile
(
destFilePath
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment