Diffusion KIO ac51e5769c84

Add unit tests for privilege excution in KIO

Authored by chinmoyr on Jan 12 2018, 12:08 PM.

Description

Add unit tests for privilege excution in KIO

Summary:
Auto testing privilege operation is not feasible because it requires user interaction. So instead what we do
is check if the flag for privilege execution is set and if the sub-jobs have a parent job.
If the conditions are met then metadata "TestData" is added which tells that the job is properly configured
and can perform file operations with elevated privileges.

Differential Revision: https://phabricator.kde.org/D7430

Details

Committed
chinmoyrJan 12 2018, 12:15 PM
Differential Revision
D7430: Add unit tests for privilege excution in KIO
Parents
R241:7ccf3cda121f: Add support for privilege execution in KIO jobs
Branches
Unknown
Tags
Unknown