#include <Carbon/Carbon.h>
#import <Foundation/Foundation.h>
#import <OCMock/OCMock.h>
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterKeyboardManager.h"
#include "flutter/shell/platform/embedder/test_utils/key_codes.g.h"
#import "flutter/testing/testing.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
Go to the source code of this file.
Classes | |
class | KeyboardTester |
class | FlutterKeyboardManagerUnittestsObjC |
Namespaces | |
flutter | |
flutter::testing | |
Macros | |
#define | VERIFY_DOWN(OUT_LOGICAL, OUT_CHAR) |
Functions | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, SinglePrimaryResponder) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, DoublePrimaryResponder) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, SingleFinalResponder) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, EmptyNextResponder) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, GetPressedState) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, KeyboardChannelGetPressedState) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, RacingConditionBetweenKeyAndText) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, CorrectLogicalKeyForLayouts) | |
flutter::testing::TEST (FlutterKeyboardManagerUnittests, ShouldNotHoldStrongReferenceToViewDelegate) | |
Variables | |
AsyncKeyCallbackHandler | _channelHandler |
TextInputCallback | _textCallback |
NSMutableArray< NSNumber * > * | _typeStorage |
uint32_t | _typeStorageMask |
flutter::KeyboardLayoutNotifier | _keyboardLayoutNotifier |
const MockLayoutData * | _currentLayout |
id | _keyboardChannelResult |
NSObject< FlutterBinaryMessenger > * | _messengerMock |
FlutterBinaryMessageHandler | _keyboardHandler |
#define VERIFY_DOWN | ( | OUT_LOGICAL, | |
OUT_CHAR | |||
) |
Definition at line 172 of file FlutterKeyboardManagerTest.mm.
AsyncKeyCallbackHandler _channelHandler |
Definition at line 235 of file FlutterKeyboardManagerTest.mm.
Referenced by KeyboardTester::handleChannelMessage:message:binaryReply:, KeyboardTester::recordChannelCallsTo:, and KeyboardTester::respondChannelCallsWith:.
const MockLayoutData* _currentLayout |
Definition at line 244 of file FlutterKeyboardManagerTest.mm.
Referenced by KeyboardTester::init.
id _keyboardChannelResult |
Definition at line 246 of file FlutterKeyboardManagerTest.mm.
Referenced by KeyboardTester::lastKeyboardChannelResult.
FlutterBinaryMessageHandler _keyboardHandler |
Definition at line 248 of file FlutterKeyboardManagerTest.mm.
flutter::KeyboardLayoutNotifier _keyboardLayoutNotifier |
Definition at line 243 of file FlutterKeyboardManagerTest.mm.
NSObject<FlutterBinaryMessenger>* _messengerMock |
Definition at line 247 of file FlutterKeyboardManagerTest.mm.
Referenced by KeyboardTester::init.
TextInputCallback _textCallback |
Definition at line 238 of file FlutterKeyboardManagerTest.mm.
Referenced by KeyboardTester::handleTextInputKeyEvent:, and KeyboardTester::respondTextInputWith:.
NSMutableArray<NSNumber*>* _typeStorage |
uint32_t _typeStorageMask |