#include "flutter/shell/platform/linux/fl_keyboard_manager.h"
#include <cstring>
#include <vector>
#include "flutter/shell/platform/embedder/test_utils/key_codes.g.h"
#include "flutter/shell/platform/linux/fl_engine_private.h"
#include "flutter/shell/platform/linux/key_mapping.h"
#include "flutter/shell/platform/linux/testing/fl_mock_binary_messenger.h"
#include "flutter/shell/platform/linux/testing/mock_keymap.h"
#include "gtest/gtest.h"
Go to the source code of this file.
Classes | |
struct | CallRecord |
Macros | |
#define | EXPECT_KEY_EVENT(RECORD, TYPE, PHYSICAL, LOGICAL, CHAR, SYNTHESIZED) |
#define | VERIFY_DOWN(OUT_LOGICAL, OUT_CHAR) |
Functions | |
static CallRecord * | call_record_new (const FlutterKeyEvent *event, FlutterKeyEventCallback callback, void *callback_user_data) |
static void | call_record_free (CallRecord *record) |
static void | call_record_respond (CallRecord *record, bool handled) |
#define EXPECT_KEY_EVENT | ( | RECORD, | |
TYPE, | |||
PHYSICAL, | |||
LOGICAL, | |||
CHAR, | |||
SYNTHESIZED | |||
) |
Definition at line 21 of file fl_keyboard_manager_test.cc.
#define VERIFY_DOWN | ( | OUT_LOGICAL, | |
OUT_CHAR | |||
) |
Definition at line 28 of file fl_keyboard_manager_test.cc.
|
static |
|
static |
Definition at line 53 of file fl_keyboard_manager_test.cc.
References CallRecord::callback, CallRecord::callback_user_data, CallRecord::event_character, CallRecord::event_logical, CallRecord::event_physical, CallRecord::event_synthesized, and CallRecord::event_type.
|
static |
Definition at line 72 of file fl_keyboard_manager_test.cc.
References CallRecord::callback, and CallRecord::callback_user_data.