Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
flutter::testing::MockTextInputViewDelegate Class Reference

#include <mock_text_input_view_delegate.h>

Public Member Functions

 MockTextInputViewDelegate ()
 
 ~MockTextInputViewDelegate ()
 
 operator FlTextInputViewDelegate * ()
 
 MOCK_METHOD (void, fl_text_input_view_delegate_translate_coordinates,(FlTextInputViewDelegate *delegate, gint view_x, gint view_y, gint *window_x, gint *window_y))
 

Detailed Description

Definition at line 18 of file mock_text_input_view_delegate.h.

Constructor & Destructor Documentation

◆ MockTextInputViewDelegate()

MockTextInputViewDelegate::MockTextInputViewDelegate ( )

Definition at line 28 of file mock_text_input_view_delegate.cc.

29 : instance_(fl_mock_text_input_view_delegate_new(this)) {}
static FlTextInputViewDelegate * fl_mock_text_input_view_delegate_new(MockTextInputViewDelegate *mock)

◆ ~MockTextInputViewDelegate()

MockTextInputViewDelegate::~MockTextInputViewDelegate ( )

Definition at line 31 of file mock_text_input_view_delegate.cc.

31 {
32 if (FL_IS_TEXT_INPUT_VIEW_DELEGATE(instance_)) {
33 g_clear_object(&instance_);
34 }
35}

Member Function Documentation

◆ MOCK_METHOD()

flutter::testing::MockTextInputViewDelegate::MOCK_METHOD ( void  ,
fl_text_input_view_delegate_translate_coordinates  ,
(FlTextInputViewDelegate *delegate, gint view_x, gint view_y, gint *window_x, gint *window_y)   
)

◆ operator FlTextInputViewDelegate *()

MockTextInputViewDelegate::operator FlTextInputViewDelegate * ( )

Definition at line 37 of file mock_text_input_view_delegate.cc.

37 {
38 return instance_;
39}

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