Skip to content
Commit ad5d7e71 authored by John Edward Broadbent's avatar John Edward Broadbent Committed by Ed Tanous
Browse files

Adds new redfish unit testing for serviceroot



This type of testing can validate bmcwebs generated redfish. The ability
to validate the output of bmcweb is extremely useful because it will
guarantee correctness in certain cases.

This is an example of redfish unit testing. The long term goal is to
apply this type of testing to several other redfish responses.

To make this change many previous changes were needed
* Break serviceroot callback into the free function.
* Change ownership of the request and response objects.
* Change setCompleteRequestHandler logic

Signed-off-by: default avatarJohn Edward Broadbent <jebr@google.com>
Change-Id: I324daef0d80eb86f0f7383663727d64776f45279
parent 72374eb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment