test: common: software version
Test Software Version DBus API.
Change-Id: I287b7e7957199463ec80bda8f71bf881bc0e5cb8
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/test/common/exampledevice/example_device.hpp b/test/common/exampledevice/example_device.hpp
index 52da92d..67269d5 100644
--- a/test/common/exampledevice/example_device.hpp
+++ b/test/common/exampledevice/example_device.hpp
@@ -20,9 +20,12 @@
ExampleCodeUpdater(sdbusplus::async::context& ctx,
long uniqueSuffix = getRandomId());
+ // @param createDevice create an ExampleDevice. Prerequisite for param
+ // 'swVersion'.
// @param swVersion if this is nullptr, do not create the software
// version.
- ExampleCodeUpdater(sdbusplus::async::context& ctx, const char* swVersion);
+ ExampleCodeUpdater(sdbusplus::async::context& ctx, bool createDevice,
+ const char* swVersion);
std::unique_ptr<ExampleDevice>& getDevice();