CodeConstruct / dbus-sensors

D-Bus configurable sensor scanning applications
Apache License 2.0
0 stars 3 forks source link

[issue] fixing the subsystem creation for unit test #6

Open drakedog2008 opened 10 months ago

drakedog2008 commented 10 months ago

The modification of subsystem with init() makes it incompatible with the unit test. I have to make a temporary walk around to make the unit test work (https://gbmc-review.googlesource.com/c/dbus-sensors/+/12914/3/src/NVMeSubsys.hpp).

I think the requirement of the init() function is debatable since it is similar to the start() function.