diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-08-14 16:13:32 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2017-08-21 14:26:40 +0000 |
commit | 2c11e4561c42331decf12e373c0839f40116c936 (patch) | |
tree | 2838cd1a312f0220de035eb23fd253693f7e9735 /src/example/test.yaml | |
parent | 30474cf5daff8ce4a9fdeeaab63957673eeb9f4b (diff) | |
download | phosphor-dbus-monitor-2c11e4561c42331decf12e373c0839f40116c936.tar.gz phosphor-dbus-monitor-2c11e4561c42331decf12e373c0839f40116c936.zip |
Add tests for elog
Change-Id: I58a6ac714cfa80462ab53d4487dc727e40038b06
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src/example/test.yaml')
-rw-r--r-- | src/example/test.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/example/test.yaml b/src/example/test.yaml index 1ba22a4..43755f3 100644 --- a/src/example/test.yaml +++ b/src/example/test.yaml @@ -223,6 +223,54 @@ severity: INFO message: Testing... +- name: test string elog + class: callback + callback: elog + paths: test path group + properties: test string property group + error: xyz::openbmc_project::Common::Error::InvalidArgument + metadata: + - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_NAME + value: testing... + type: string + - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_VALUE + value: testing... + type: string + +- name: test int32 elog + class: callback + callback: elog + paths: test path group + properties: test string property group + error: xyz::openbmc_project::Common::Callout::Error::Device + metadata: + - name: xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO + value: 123 + type: int32 + - name: xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH + value: testing... + type: string + +- name: test int64 elog + class: callback + callback: elog + paths: test path group + properties: test string property group + error: xyz::openbmc_project::Common::File::Error::Seek + metadata: + - name: xyz::openbmc_project::Common::File::Seek::OFFSET + value: 123 + type: int64 + - name: xyz::openbmc_project::Common::File::Seek::WHENCE + value: 123 + type: int32 + - name: xyz::openbmc_project::Common::File::Seek::ERRNO + value: 123 + type: int32 + - name: xyz::openbmc_project::Common::File::Seek::PATH + value: testing... + type: string + - name: test method class: callback callback: method |