Add autotest to verify that screen starts to lock on idle timeout
ClosedPublic

Authored by graesslin on Apr 4 2016, 8:12 AM.

Details

Summary

This adds a new auto test to verify that gets locked when the idle
timeout is reached.

Unfortunately we cannot just modify the configuration as the minimum
idle timout possible through the configuration is one minute and we
don't want to wait that long on the CI system.

Thus two new methods are exposed to modify the internal idle id from
the auto test.

Test Plan

Tested with an Xvfb

Diff Detail

Repository
R133 KScreenLocker
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 3121.Apr 4 2016, 8:12 AM
graesslin retitled this revision from to Add autotest to verify that screen starts to lock on idle timeout.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptApr 4 2016, 8:12 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bshah accepted this revision.Apr 4 2016, 3:25 PM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.Apr 4 2016, 3:25 PM
This revision was automatically updated to reflect the committed changes.