MCPcopy Create free account
hub / github.com/canonical/mir / TEST_F

Function TEST_F

tests/unit-tests/shell/test_basic_idle_handler.cpp:133–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133TEST_F(BasicIdleHandler, does_not_register_observers_by_default)
134{
135 EXPECT_CALL(idle_hub, register_interest(_, _))
136 .Times(0);
137 mtd::StubSessionLock session_lock;
138 msh::BasicIdleHandler local_handler{
139 mt::fake_shared(idle_hub),
140 input_scene,
141 mt::fake_shared(allocator),
142 mt::fake_shared(display),
143 mt::fake_shared(session_lock)};
144}
145
146TEST_F(BasicIdleHandler, off_timeout_when_locked_is_used_when_session_is_locked)
147{

Callers

nothing calls this directly

Calls 9

fake_sharedFunction · 0.85
lockMethod · 0.45
unlockMethod · 0.45
idleMethod · 0.45
activeMethod · 0.45
orientationMethod · 0.45
mirror_modeMethod · 0.45

Tested by

no test coverage detected