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

Function TEST_F

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

Source from the content-addressed store, hash-verified

233 "bluetooth-magic-trackpad"));
234
235TEST_F(EvdevInputPlatform, register_ungrouped_devices)
236{
237 auto platform = create_input_platform();
238 EXPECT_CALL(mock_registry, add_device(_)).Times(2);
239
240 platform->start();
241
242 udev.add_standard_device("synaptics-touchpad");
243 udev.add_standard_device("usb-keyboard");
244 run_dispatchable(*platform);
245}
246
247TEST_F(EvdevInputPlatform, devices_from_same_group)
248{

Callers

nothing calls this directly

Calls 10

run_dispatchableFunction · 0.85
libinput_path_add_deviceFunction · 0.85
device_for_pathFunction · 0.85
create_input_platformFunction · 0.50
startMethod · 0.45
add_standard_deviceMethod · 0.45
setup_deviceMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected