summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-02-04 10:51:06 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-02-14 08:12:09 -0500
commit9bbfcb180ceba3c1af4ee03cc71e5c305c3a6b8b (patch)
tree93ae4cfed4b417117bc27f7c71c3cee505923dcc /test
parent0237971c1e8cd102e2035f92f8e794b8e6711b2d (diff)
downloadphosphor-inventory-manager-9bbfcb180ceba3c1af4ee03cc71e5c305c3a6b8b.tar.gz
phosphor-inventory-manager-9bbfcb180ceba3c1af4ee03cc71e5c305c3a6b8b.zip
Set properties when constructing interfaces.
Make use of new sdbusplus support for passing a map of properties and their values to the interface constructor. Change-Id: Ib0dd406fd80c89acb723e3a376af26ba57b53d27 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'test')
-rw-r--r--test/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cpp b/test/test.cpp
index 0a941f7..d36aa24 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -207,7 +207,7 @@ void runTests()
},
{
"xyz.openbmc_project.Example.Iface2",
- {{"ExampleProperty2", "test2"s}}
+ {{"ExampleProperty2", "test2"s}, {"ExampleProperty3", 0ll}}
},
};
OpenPOWER on IntegriCloud