c36ecacf1c
Firstly we weren't waiting for a signal at all, we are relying on events being processed externally which is wrong. Secondly ScreenLocker::KSldApp::self()->lockState() is tri-state; unlocked, acquiring, locked. This gets compressed to a boolean where acquiring and locked are the same. If we run the tests whilst we're still acquiring the lock screen we can call unlocked before we've finished locking. The greeter might then be shown afterwards triggering a re-lock. It's a confused state. |
||
---|---|---|
.. | ||
integration | ||
libinput | ||
libkwineffects | ||
tabbox | ||
CMakeLists.txt | ||
onscreennotificationtest.cpp | ||
onscreennotificationtest.h | ||
opengl_context_attribute_builder_test.cpp | ||
test_client_machine.cpp | ||
test_ftrace.cpp | ||
test_gestures.cpp | ||
test_screen_paint_data.cpp | ||
test_virtual_desktops.cpp | ||
test_window_paint_data.cpp | ||
test_x11_timestamp_update.cpp | ||
test_xcb_size_hints.cpp | ||
test_xcb_window.cpp | ||
test_xcb_wrapper.cpp | ||
test_xkb.cpp | ||
testutils.h |