Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::MockTextInputManager Class Reference

Mock for the |Window| base class. More...

#include <mock_text_input_manager.h>

Inheritance diagram for flutter::testing::MockTextInputManager:
flutter::TextInputManager

Public Member Functions

 MockTextInputManager ()
 
virtual ~MockTextInputManager ()
 
 MOCK_METHOD (std::optional< std::u16string >, GetComposingString,(),(const, override))
 
 MOCK_METHOD (std::optional< std::u16string >, GetResultString,(),(const, override))
 
 MOCK_METHOD (long, GetComposingCursorPosition,(),(const, override))
 
- Public Member Functions inherited from flutter::TextInputManager
 TextInputManager () noexcept=default
 
virtual ~TextInputManager ()=default
 
void SetWindowHandle (HWND window_handle)
 
void CreateImeWindow ()
 
void DestroyImeWindow ()
 
void UpdateImeWindow ()
 
void UpdateCaretRect (const Rect &rect)
 
virtual long GetComposingCursorPosition () const
 
virtual std::optional< std::u16string > GetComposingString () const
 
virtual std::optional< std::u16string > GetResultString () const
 
void AbortComposing ()
 

Detailed Description

Mock for the |Window| base class.

Definition at line 19 of file mock_text_input_manager.h.

Constructor & Destructor Documentation

◆ MockTextInputManager()

flutter::testing::MockTextInputManager::MockTextInputManager ( )

Definition at line 10 of file mock_text_input_manager.cc.

TextInputManager() noexcept=default

◆ ~MockTextInputManager()

flutter::testing::MockTextInputManager::~MockTextInputManager ( )
virtualdefault

Member Function Documentation

◆ MOCK_METHOD() [1/3]

flutter::testing::MockTextInputManager::MOCK_METHOD ( long  ,
GetComposingCursorPosition  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [2/3]

flutter::testing::MockTextInputManager::MOCK_METHOD ( std::optional< std::u16string >  ,
GetComposingString  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [3/3]

flutter::testing::MockTextInputManager::MOCK_METHOD ( std::optional< std::u16string >  ,
GetResultString  ,
()  ,
(const, override)   
)

The documentation for this class was generated from the following files: