diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-05-09 00:23:11 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-04 22:40:30 -0400 |
commit | c9e173f84effdfbdda9f0d5e8650644572a2d95e (patch) | |
tree | a01acde00fb4f47dcfc011290e274704d71b6c00 /src/test/yaml | |
parent | e73b2c35a375af51b6c7341e9a98f9571f76b266 (diff) | |
download | phosphor-dbus-monitor-c9e173f84effdfbdda9f0d5e8650644572a2d95e.tar.gz phosphor-dbus-monitor-c9e173f84effdfbdda9f0d5e8650644572a2d95e.zip |
Add testcases for property and property groups
Change-Id: I4b30d0729a704d6833c840ea08daeee961a5730b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/test/yaml')
-rw-r--r-- | src/test/yaml/propertygentest/groupone.yaml | 23 | ||||
-rw-r--r-- | src/test/yaml/propertygentest/grouptwo.yaml | 26 |
2 files changed, 49 insertions, 0 deletions
diff --git a/src/test/yaml/propertygentest/groupone.yaml b/src/test/yaml/propertygentest/groupone.yaml new file mode 100644 index 0000000..9ab9ace --- /dev/null +++ b/src/test/yaml/propertygentest/groupone.yaml @@ -0,0 +1,23 @@ +- name: test property group + class: group + group: property + type: uint32 + members: + - interface: xyz.openbmc_project.Test.Iface3 + property: Foo + meta: property1 + - interface: xyz.openbmc_project.Test.Iface2 + property: Value + meta: property2 + +- name: test property group 2 + class: group + group: property + type: int32 + members: + - interface: xyz.openbmc_project.Test.Iface3 + property: Bar + meta: property1 + - interface: xyz.openbmc_project.Test.Iface2 + property: Foo + meta: property2 diff --git a/src/test/yaml/propertygentest/grouptwo.yaml b/src/test/yaml/propertygentest/grouptwo.yaml new file mode 100644 index 0000000..4f2db02 --- /dev/null +++ b/src/test/yaml/propertygentest/grouptwo.yaml @@ -0,0 +1,26 @@ +- name: test property group + class: group + group: property + type: string + members: + - interface: xyz.openbmc_project.Test.Iface6 + property: Foo + meta: property1 + - interface: xyz.openbmc_project.Test.Iface1 + property: Value + meta: property2 + +- name: test property group 3 + class: group + group: property + type: int32 + members: + - interface: xyz.openbmc_project.Test.Iface3 + property: Bar + meta: property1 + - interface: xyz.openbmc_project.Test.Iface2 + property: Value + meta: property2 + - interface: xyz.openbmc_project.Test.Iface6 + property: Baz + meta: property3 |