fwupd/plugins/test
Daniil Lunev dc483a5110 fu-engine: Preserve NEEDS_REBOOT on successful update
Currently the SUCCESS state overrides reboot-needed, thus making the
devices considered for successive git-upgrades within same boot. The
change preserves the REBOOT_NEEDED state. It also added a missed
'changed' signal, which otherwise would skip updating the persistent
state.

Change-Id: I6f60606f2253d89eab2f5bddceba19d19c4c9c97
2021-07-23 08:45:16 +01:00
..
fu-plugin-invalid.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-plugin-test-ble.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-plugin-test.c fu-engine: Preserve NEEDS_REBOOT on successful update 2021-07-23 08:45:16 +01:00
fu-test-ble-device.c Support more than one protocol for a given device 2021-03-01 16:14:36 +00:00
fu-test-ble-device.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01: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.