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

Method lock

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

Source from the content-addressed store, hash-verified

53{
54public:
55 void lock() override
56 {
57 auto config_observer = observer.lock();
58 EXPECT_THAT(config_observer, testing::NotNull());
59 config_observer->on_lock();
60 }
61 void unlock() override
62 {
63 auto config_observer = observer.lock();

Callers 15

TESTFunction · 0.45
do_workMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
list_providers_forMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
list_participants_forMethod · 0.45
unlockMethod · 0.45
register_interestMethod · 0.45

Calls 1

on_lockMethod · 0.45

Tested by

no test coverage detected