#include "flutter/shell/platform/linux/fl_pointer_manager.h"#include "flutter/shell/platform/embedder/test_utils/proc_table_replacement.h"#include "flutter/shell/platform/linux/fl_engine_private.h"#include "flutter/shell/platform/linux/testing/linux_test.h"#include "gtest/gtest.h"Go to the source code of this file.
Classes | |
| class | FlPointerManagerTest |
Functions | |
| TEST_F (FlPointerManagerTest, EnterLeave) | |
| TEST_F (FlPointerManagerTest, EnterEnter) | |
| TEST_F (FlPointerManagerTest, EnterLeaveLeave) | |
| TEST_F (FlPointerManagerTest, EnterButtonPress) | |
| TEST_F (FlPointerManagerTest, NoEnterButtonPress) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonReleasePrimary) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonReleaseSecondary) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonReleaseMiddle) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonReleaseBack) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonReleaseForward) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonReleaseThreeButtons) | |
| TEST_F (FlPointerManagerTest, ButtonPressStylusPrimaryButton) | |
| TEST_F (FlPointerManagerTest, ButtonPressStylusContact) | |
| TEST_F (FlPointerManagerTest, ButtonPressInvertedStylusContact) | |
| TEST_F (FlPointerManagerTest, ButtonPressStylusSecondaryButton) | |
| TEST_F (FlPointerManagerTest, ButtonPressStylusUnknownButton) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonPressButtonRelease) | |
| TEST_F (FlPointerManagerTest, ButtonPressButtonReleaseButtonRelease) | |
| TEST_F (FlPointerManagerTest, NoButtonPressButtonRelease) | |
| TEST_F (FlPointerManagerTest, Motion) | |
| TEST_F (FlPointerManagerTest, Drag) | |
| TEST_F (FlPointerManagerTest, DeviceKind) | |
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonPressButtonRelease | |||
| ) |
Definition at line 608 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMousePrimary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonReleaseBack | |||
| ) |
Definition at line 322 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMouseBack, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonReleaseButtonRelease | |||
| ) |
Definition at line 652 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMousePrimary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonReleaseForward | |||
| ) |
Definition at line 361 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMouseForward, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonReleaseMiddle | |||
| ) |
Definition at line 282 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMouseMiddle, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonReleasePrimary | |||
| ) |
Definition at line 202 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMousePrimary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonReleaseSecondary | |||
| ) |
Definition at line 242 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMouseSecondary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressButtonReleaseThreeButtons | |||
| ) |
Definition at line 400 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMouseMiddle, kFlutterPointerButtonMousePrimary, kFlutterPointerButtonMouseSecondary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressInvertedStylusContact | |||
| ) |
Definition at line 527 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindInvertedStylus, kSuccess, MOCK_ENGINE_PROC, and FlutterEngineProcTable::SendPointerEvent.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressStylusContact | |||
| ) |
Definition at line 500 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindStylus, kSuccess, MOCK_ENGINE_PROC, and FlutterEngineProcTable::SendPointerEvent.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressStylusPrimaryButton | |||
| ) |
Definition at line 469 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindStylus, kSuccess, MOCK_ENGINE_PROC, and FlutterEngineProcTable::SendPointerEvent.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressStylusSecondaryButton | |||
| ) |
Definition at line 555 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindStylus, kSuccess, MOCK_ENGINE_PROC, and FlutterEngineProcTable::SendPointerEvent.
| TEST_F | ( | FlPointerManagerTest | , |
| ButtonPressStylusUnknownButton | |||
| ) |
Definition at line 586 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindStylus, kSuccess, MOCK_ENGINE_PROC, and FlutterEngineProcTable::SendPointerEvent.
| TEST_F | ( | FlPointerManagerTest | , |
| DeviceKind | |||
| ) |
Definition at line 825 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_handle_enter(), fl_pointer_manager_handle_leave(), fl_pointer_manager_handle_motion(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindTrackpad, kSuccess, MOCK_ENGINE_PROC, and FlutterEngineProcTable::SendPointerEvent.
| TEST_F | ( | FlPointerManagerTest | , |
| Drag | |||
| ) |
Definition at line 766 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_handle_motion(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMousePrimary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| EnterButtonPress | |||
| ) |
Definition at line 125 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_handle_enter(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMousePrimary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| EnterEnter | |||
| ) |
Definition at line 52 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_enter(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| EnterLeave | |||
| ) |
Definition at line 14 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_enter(), fl_pointer_manager_handle_leave(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| EnterLeaveLeave | |||
| ) |
Definition at line 84 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_enter(), fl_pointer_manager_handle_leave(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| Motion | |||
| ) |
Definition at line 720 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_motion(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.
| TEST_F | ( | FlPointerManagerTest | , |
| NoButtonPressButtonRelease | |||
| ) |
Definition at line 696 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_release(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, and FlutterEngineProcTable::SendPointerEvent.
| TEST_F | ( | FlPointerManagerTest | , |
| NoEnterButtonPress | |||
| ) |
Definition at line 164 of file fl_pointer_manager_test.cc.
References engine, fl_engine_get_embedder_api(), fl_pointer_manager_handle_button_press(), fl_pointer_manager_new(), g_autoptr(), i, kFlutterPointerButtonMousePrimary, kFlutterPointerDeviceKindMouse, kSuccess, MOCK_ENGINE_PROC, FlutterEngineProcTable::SendPointerEvent, view_id, x, and y.