Definition at line 59 of file cursor_handler_unittests.cc.
◆ CursorHandlerTest()
flutter::testing::CursorHandlerTest::CursorHandlerTest |
( |
| ) |
|
|
default |
◆ ~CursorHandlerTest()
virtual flutter::testing::CursorHandlerTest::~CursorHandlerTest |
( |
| ) |
|
|
virtualdefault |
◆ engine()
◆ proc_table()
MockWindowsProcTable* flutter::testing::CursorHandlerTest::proc_table |
( |
| ) |
|
|
inlineprotected |
◆ UseEngineWithView()
void flutter::testing::CursorHandlerTest::UseEngineWithView |
( |
| ) |
|
|
inlineprotected |
Definition at line 76 of file cursor_handler_unittests.cc.
77 windows_proc_table_ = std::make_shared<MockWindowsProcTable>();
79 FlutterWindowsEngineBuilder builder{GetContext()};
80 builder.SetWindowsProcTable(windows_proc_table_);
82 auto window = std::make_unique<MockWindowBindingHandler>();
83 EXPECT_CALL(*
window.get(), SetView).Times(1);
84 EXPECT_CALL(*
window.get(), GetWindowHandle).WillRepeatedly(Return(
nullptr));
87 engine_ = builder.Build();
88 view_ = engine_->CreateView(std::move(
window));
MockWindowBindingHandler * window()
References window().
◆ UseHeadlessEngine()
void flutter::testing::CursorHandlerTest::UseHeadlessEngine |
( |
| ) |
|
|
inlineprotected |
◆ view()
◆ window()
MockWindowBindingHandler* flutter::testing::CursorHandlerTest::window |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: