class MouseTest
Defined at line 64 of file ../../src/ui/scenic/lib/input/tests/mouse_test.cc
Protected Members
function_impl client1_error_handler_
function_impl client2_error_handler_
EventHandler1 event_handler1_
EventHandler2 event_handler2_
MouseSystem mouse_system_
shared_ptr current_snapshot_
Client client1_ptr_
Client client2_ptr_
Public Methods
void MouseTest ()
Defined at line 66 of file ../../src/ui/scenic/lib/input/tests/mouse_test.cc
void SetUp ()
Defined at line 72 of file ../../src/ui/scenic/lib/input/tests/mouse_test.cc
void OnNewViewTreeSnapshot (std::shared_ptr<const view_tree::Snapshot> snapshot)
Defined at line 88 of file ../../src/ui/scenic/lib/input/tests/mouse_test.cc
void StartWatchLoop (fidl::Client<fuchsia_ui_pointer::MouseSource> & mouse_source, std::vector<fup_MouseEvent> & out_events)
Starts a recursive MouseSource::Watch() loop that collects all received events into
|out_events|.
Defined at line 94 of file ../../src/ui/scenic/lib/input/tests/mouse_test.cc
Protected Methods
std::shared_ptr<view_tree::Snapshot> NewSnapshot (std::vector<zx_koid_t> hits, std::vector<zx_koid_t> hierarchy)
Creates a new snapshot with a hit test that returns |hits|, and a ViewTree with a straight
hierarchy matching |hierarchy|.
Defined at line 110 of file ../../src/ui/scenic/lib/input/tests/mouse_test.cc