#include "kwin_wayland_test.h"
#include "core/output.h"
#include "cursor.h"
#include "internalwindow.h"
#include "pointer_input.h"
#include "touch_input.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include "decorations/decoratedclient.h"
#include "decorations/decorationbridge.h"
#include "decorations/settings.h"
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/connection_thread.h>
#include <KWayland/Client/keyboard.h>
#include <KWayland/Client/pointer.h>
#include <KWayland/Client/seat.h>
#include <KWayland/Client/shm_pool.h>
#include <KWayland/Client/surface.h>
#include <KDecoration2/Decoration>
#include <KDecoration2/DecorationSettings>
#include <QSignalSpy>
#include <linux/input.h>
#include "decoration_input_test.moc"
Go to the source code of this file.
|
#define | MOTION(target) Test::pointerMotion(target, timestamp++) |
|
#define | PRESS Test::pointerButtonPressed(BTN_LEFT, timestamp++) |
|
#define | RELEASE Test::pointerButtonReleased(BTN_LEFT, timestamp++) |
|
#define | VERIFY(statement) |
|
#define | COMPARE(actual, expected) |
|
◆ COMPARE
#define COMPARE |
( |
| actual, |
|
|
| expected ) |
Value: if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__)) \
return {nullptr, nullptr, nullptr};
◆ MOTION
#define MOTION |
( |
| target | ) |
Test::pointerMotion(target, timestamp++) |
◆ PRESS
#define PRESS Test::pointerButtonPressed(BTN_LEFT, timestamp++) |
◆ RELEASE
#define RELEASE Test::pointerButtonReleased(BTN_LEFT, timestamp++) |
◆ VERIFY
#define VERIFY |
( |
| statement | ) |
|
Value: if (!QTest::qVerify((statement), #statement, "", __FILE__, __LINE__)) \
return {nullptr, nullptr, nullptr};