kwin/autotests
Martin Gräßlin 4eadc9daef [auto-tests] Add an initial test for Screens
This is a very interesting auto test as Screens uses both Workspace
and Client. Thus it operates in the "impossible to mock" area.

The solution is to provide mock includes in autotests and ensure that
when building the auto-test the mock header includes will be picked
first. There is now a mock class for Workspace and Client providing
just the API pieces used inside Screens.

As Screens is abstract and we cannot properly interact with
QDesktopWidget there is also a MockScreens class inheriting from Screens
and mocking the required functionality (by just operating on a list of
QRects).

The auto-test itself is only performing checks on the abstract class.
The mock class is indirectly tested by Screens calling into the virtual
methods. The test case is not yet complete, but looking quite good
already.
2014-09-17 10:29:03 +02:00
..
wayland_client [autotests/wayland_client] Make TestWaylandShell more robust 2014-09-03 21:31:10 +02:00
wayland_server [kwin_wayland] Test that Seat gets destroyed when Display terminates 2014-09-03 20:02:42 +02:00
client.h [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
CMakeLists.txt [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
fakeeffectplugin.cpp [kwin] Add a PluginEffectLoader 2014-03-28 14:04:54 +01:00
fakeeffectplugin.json [kwin] Add a PluginEffectLoader 2014-03-28 14:04:54 +01:00
fakeeffectplugin_version.cpp [kwin] Adapt to KPluginFactory change 2014-03-28 19:50:46 +00:00
fakeeffectplugin_version.json [kwin] Add a PluginEffectLoader 2014-03-28 14:04:54 +01:00
mock_client.cpp [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
mock_client.h [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
mock_effectshandler.cpp
mock_effectshandler.h [effects] Get xcb_connection_t* and rootWindow through EffectsHandler API 2014-04-16 16:05:05 +02:00
mock_screens.cpp [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
mock_screens.h [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
mock_workspace.cpp [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
mock_workspace.h [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
test_builtin_effectloader.cpp Drop "kwin4_effect_" prefix for BuiltIn Effects 2014-04-28 13:52:50 +02:00
test_client_machine.cpp Use KWindowInfo::clientMachine in ClientMachine::resolve 2014-04-10 15:55:17 +02:00
test_plugin_effectloader.cpp [kwin] Add a PluginEffectLoader 2014-03-28 14:04:54 +01:00
test_screen_paint_data.cpp
test_screens.cpp [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
test_scripted_effectloader.cpp
test_virtual_desktops.cpp
test_window_paint_data.cpp Remove the decoration opacity property 2014-08-25 17:25:04 +02:00
test_xcb_window.cpp
test_xcb_wrapper.cpp Distinguish empty and non existent properties 2014-06-11 11:08:02 +02:00
testutils.h
workspace.h [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00