fwupd/plugins/test
Richard Hughes e87fc05ab9 Speed up the daemon startup by ~2% by doing dlsym much less
We were calling g_module_symbol() 2703 times, which is actually more
expensive than you'd think.

It also means the plugins are actually what we tell people they are:
A set of vfuncs that get run. The reality before that they were dlsym'd
functions that get called at pretty random times.
2021-11-09 12:02:07 +00:00
..
fu-plugin-invalid.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-plugin-test-ble.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-plugin-test.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-test-ble-device.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-test-ble-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
meson.build trivial: Fix build failure of missing fu-hash.h 2021-05-20 11:12:20 +01:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00
test-ble.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00

Test

Introduction

This plugin is used when running the self tests in the fwupd project.

GUID Generation

The devices created by this plugin use hardcoded GUIDs that do not correspond to any kind of DeviceInstanceId values.

In other cases devices use the standard BLE DeviceInstanceId values, e.g.

  • USB\VID_2DC8&PID_AB11

Vendor ID Security

The fake device is only for local testing and thus requires no vendor ID set.

External Interface Access

This plugin requires no extra access.