Instance Methods | |
(nonnull instancetype) | - init |
(void) | - respondEmbedderCallsWith: |
(void) | - recordEmbedderCallsTo: |
(void) | - recordEmbedderEventsTo:returning: |
(void) | - respondChannelCallsWith: |
(void) | - recordChannelCallsTo: |
(void) | - respondTextInputWith: |
(void) | - recordCallTypesTo:forTypes: |
(id) | - lastKeyboardChannelResult |
(void) | - sendKeyboardChannelMessage: |
(void) | - handleEmbedderEvent:callback:userData: |
(void) | - handleChannelMessage:message:binaryReply: |
(BOOL) | - handleTextInputKeyEvent: |
Properties | |
FlutterKeyboardManager * | manager |
NSResponder * | nextResponder |
Definition at line 180 of file FlutterKeyboardManagerTest.mm.
- (void) handleChannelMessage: | (NSString*) | channel | |
message: | (NSData* _Nullable) | message | |
binaryReply: | (FlutterBinaryReply _Nullable) | callback | |
Definition at line 375 of file FlutterKeyboardManagerTest.mm.
References _channelHandler, _typeStorage, _typeStorageMask, and <FlutterMessageCodec>::sharedInstance.
- (void) handleEmbedderEvent: | (const FlutterKeyEvent&) | event | |
callback: | (nullable FlutterKeyEventCallback) | callback | |
userData: | (nullable void*) | userData | |
Definition at line 362 of file FlutterKeyboardManagerTest.mm.
References _typeStorage, and _typeStorageMask.
- (BOOL) handleTextInputKeyEvent: | (NSEvent*) | event |
Definition at line 396 of file FlutterKeyboardManagerTest.mm.
References _textCallback, _typeStorage, and _typeStorageMask.
- (nonnull instancetype) init |
Definition at line 251 of file FlutterKeyboardManagerTest.mm.
References _currentLayout, _messengerMock, respondChannelCallsWith:, respondEmbedderCallsWith:, and respondTextInputWith:.
- (id) lastKeyboardChannelResult |
Definition at line 294 of file FlutterKeyboardManagerTest.mm.
References _keyboardChannelResult.
Referenced by FlutterKeyboardManagerUnittestsObjC::keyboardChannelGetPressedState.
- (void) recordCallTypesTo: | (nonnull NSMutableArray<NSNumber*>*) | typeStorage | |
forTypes: | (uint32_t) | typeMask | |
Definition at line 343 of file FlutterKeyboardManagerTest.mm.
References _typeStorage, and _typeStorageMask.
Referenced by FlutterKeyboardManagerUnittestsObjC::racingConditionBetweenKeyAndText.
- (void) recordChannelCallsTo: | (nonnull NSMutableArray<FlutterAsyncKeyCallback>*) | storage |
Definition at line 331 of file FlutterKeyboardManagerTest.mm.
References _channelHandler.
Referenced by FlutterKeyboardManagerUnittestsObjC::doublePrimaryResponder.
- (void) recordEmbedderCallsTo: | (nonnull NSMutableArray<FlutterAsyncKeyCallback>*) | storage |
Definition at line 304 of file FlutterKeyboardManagerTest.mm.
Referenced by FlutterKeyboardManagerUnittestsObjC::doublePrimaryResponder, FlutterKeyboardManagerUnittestsObjC::racingConditionBetweenKeyAndText, FlutterKeyboardManagerUnittestsObjC::singlePrimaryResponder, and FlutterKeyboardManagerUnittestsObjC::textInputPlugin.
- (void) recordEmbedderEventsTo: | (nonnull std::vector<FlutterKeyEvent>*) | storage | |
returning: | (bool) | handled | |
Definition at line 310 of file FlutterKeyboardManagerTest.mm.
Referenced by FlutterKeyboardManagerUnittestsObjC::correctLogicalKeyForLayouts.
- (void) respondChannelCallsWith: | (BOOL) | response |
Definition at line 325 of file FlutterKeyboardManagerTest.mm.
References _channelHandler.
Referenced by FlutterKeyboardManagerUnittestsObjC::correctLogicalKeyForLayouts, FlutterKeyboardManagerUnittestsObjC::doublePrimaryResponder, FlutterKeyboardManagerUnittestsObjC::emptyNextResponder, FlutterKeyboardManagerUnittestsObjC::getPressedState, init, FlutterKeyboardManagerUnittestsObjC::keyboardChannelGetPressedState, and FlutterKeyboardManagerUnittestsObjC::textInputPlugin.
- (void) respondEmbedderCallsWith: | (BOOL) | response |
Definition at line 298 of file FlutterKeyboardManagerTest.mm.
Referenced by FlutterKeyboardManagerUnittestsObjC::doublePrimaryResponder, FlutterKeyboardManagerUnittestsObjC::emptyNextResponder, FlutterKeyboardManagerUnittestsObjC::getPressedState, init, FlutterKeyboardManagerUnittestsObjC::keyboardChannelGetPressedState, and FlutterKeyboardManagerUnittestsObjC::textInputPlugin.
- (void) respondTextInputWith: | (BOOL) | response |
Definition at line 337 of file FlutterKeyboardManagerTest.mm.
References _textCallback.
Referenced by FlutterKeyboardManagerUnittestsObjC::correctLogicalKeyForLayouts, FlutterKeyboardManagerUnittestsObjC::emptyNextResponder, FlutterKeyboardManagerUnittestsObjC::getPressedState, init, FlutterKeyboardManagerUnittestsObjC::keyboardChannelGetPressedState, and FlutterKeyboardManagerUnittestsObjC::textInputPlugin.
- (void) sendKeyboardChannelMessage: | (NSData* _Nullable) | message |
Definition at line 349 of file FlutterKeyboardManagerTest.mm.
Referenced by FlutterKeyboardManagerUnittestsObjC::keyboardChannelGetPressedState.
|
readnonatomicstrong |
Definition at line 219 of file FlutterKeyboardManagerTest.mm.
|
readwritenonatomicstrong |
Definition at line 220 of file FlutterKeyboardManagerTest.mm.
Referenced by FlutterKeyboardManagerUnittestsObjC::correctLogicalKeyForLayouts, FlutterKeyboardManagerUnittestsObjC::doublePrimaryResponder, FlutterKeyboardManagerUnittestsObjC::emptyNextResponder, FlutterKeyboardManagerUnittestsObjC::singlePrimaryResponder, and FlutterKeyboardManagerUnittestsObjC::textInputPlugin.