D6198: Add KAuth support to delete operation

David Faure noreply at phabricator.kde.org
Sat Jul 1 12:11:18 UTC 2017


dfaure added a comment.


  OK now I see the purpose of the Helper class. Strange that it appeared in the previous commit, but OK.

INLINE COMMENTS

> deletejobtest.cpp:119
> +    QVERIFY(spy.isValid());
> +    QVERIFY(spy.wait(100000));
> +    QCOMPARE(job->error(), KJOB_NO_ERROR);

100s is too much, please remove a zero.

> deletejobtest.cpp:122
> +
> +    QStringList testData = job->queryMetaData("TestData").split(',');
> +    QCOMPARE(testData.first(), QStringLiteral("org.kde.kio.file.del"));

Make it const so that first() doesn't detach.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D6198

To: chinmoyr, elvisangelaccio, #frameworks
Cc: dfaure, davidedmundson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170701/ac6c2a05/attachment.html>


More information about the Kde-frameworks-devel mailing list