Definition at line 57 of file cursor_handler_unittests.cc.
◆ CursorHandlerTest()
flutter::testing::CursorHandlerTest::CursorHandlerTest |
( |
| ) |
|
|
default |
◆ ~CursorHandlerTest()
virtual flutter::testing::CursorHandlerTest::~CursorHandlerTest |
( |
| ) |
|
|
virtualdefault |
◆ engine()
◆ UseEngineWithView()
void flutter::testing::CursorHandlerTest::UseEngineWithView |
( |
| ) |
|
|
inlineprotected |
Definition at line 73 of file cursor_handler_unittests.cc.
74 FlutterWindowsEngineBuilder builder{GetContext()};
76 auto window = std::make_unique<MockWindowBindingHandler>();
77 EXPECT_CALL(*
window.get(), SetView).Times(1);
78 EXPECT_CALL(*
window.get(), GetWindowHandle).WillRepeatedly(Return(
nullptr));
81 engine_ = builder.Build();
82 view_ = std::make_unique<FlutterWindowsView>(
kImplicitViewId, engine_.get(),
85 EngineModifier modifier{engine_.get()};
86 modifier.SetImplicitView(view_.get());
References flutter::kImplicitViewId, and 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: