Flutter Engine
The Flutter Engine
Namespaces | Functions
keyboard_key_handler_unittests.cc File Reference
#include "flutter/shell/platform/windows/keyboard_key_handler.h"
#include <rapidjson/document.h>
#include <map>
#include <memory>
#include "flutter/shell/platform/common/client_wrapper/include/flutter/method_result_functions.h"
#include "flutter/shell/platform/common/client_wrapper/include/flutter/standard_message_codec.h"
#include "flutter/shell/platform/common/client_wrapper/include/flutter/standard_method_codec.h"
#include "flutter/shell/platform/embedder/test_utils/key_codes.g.h"
#include "flutter/shell/platform/embedder/test_utils/proc_table_replacement.h"
#include "flutter/shell/platform/windows/keyboard_utils.h"
#include "flutter/shell/platform/windows/testing/engine_modifier.h"
#include "flutter/shell/platform/windows/testing/test_binary_messenger.h"
#include "flutter/fml/macros.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Functions

 flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithAsyncResponds)
 
 flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithSyncResponds)
 
 flutter::testing::TEST (KeyboardKeyHandlerTest, HandlerGetPressedState)
 
 flutter::testing::TEST (KeyboardKeyHandlerTest, KeyboardChannelGetPressedState)
 

Variable Documentation

◆ action

int action

Definition at line 116 of file keyboard_key_handler_unittests.cc.

◆ callback

std::function<void(bool)> callback

Definition at line 55 of file keyboard_key_handler_unittests.cc.

◆ callback_handler

CallbackHandler callback_handler

Definition at line 169 of file keyboard_key_handler_unittests.cc.

◆ character

char32_t character

Definition at line 117 of file keyboard_key_handler_unittests.cc.

◆ delegate_id

int delegate_id

Definition at line 113 of file keyboard_key_handler_unittests.cc.

◆ extended

bool extended

Definition at line 118 of file keyboard_key_handler_unittests.cc.

◆ hook_history

std::list<KeyboardHookCall>* hook_history

Definition at line 171 of file keyboard_key_handler_unittests.cc.

◆ key

int key

Definition at line 114 of file keyboard_key_handler_unittests.cc.

◆ scancode

int scancode

Definition at line 115 of file keyboard_key_handler_unittests.cc.

◆ user_data

void* user_data

Definition at line 56 of file keyboard_key_handler_unittests.cc.

◆ was_down

bool was_down

Definition at line 119 of file keyboard_key_handler_unittests.cc.