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

Function TEST_P

tests/unit-tests/input/evdev/test_evdev_input_platform.cpp:169–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169TEST_P(EvdevInputPlatform, scans_on_start)
170{
171 udev.add_standard_device(GetParam());
172
173 using namespace ::testing;
174 auto platform = create_input_platform();
175
176 EXPECT_CALL(mock_registry, add_device(_));
177
178 platform->start();
179 run_dispatchable(*platform);
180}
181
182TEST_P(EvdevInputPlatform, detects_on_hotplug)
183{

Callers

nothing calls this directly

Calls 5

run_dispatchableFunction · 0.85
create_input_platformFunction · 0.50
add_standard_deviceMethod · 0.45
startMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected