Write test to ensure that redfish validates
Dependent on configuration options, we might have overlapping paths, as
what had to be fixed in:
36a59eafed32c0063d444fc0722f899c0024092d
and
5ffd11f248f155614bf30b498cb01a4e2065094d
We should be able to catch these in a unit test, so this commit adds a
test that initializes the Redfish tree, and ensures that the router
validates. In theory this will catch any misconfigurations we might
have.
Tested: Unit tests pass.
Change-Id: I8721380c96301b57e40819f5ae2e725057ea1bb7
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/meson.build b/meson.build
index 299ce55..8ae5d23 100644
--- a/meson.build
+++ b/meson.build
@@ -424,6 +424,7 @@
'test/redfish-core/include/utils/hex_utils_test.cpp',
'test/redfish-core/include/utils/ip_utils_test.cpp',
'test/redfish-core/include/utils/json_utils_test.cpp',
+ 'test/redfish-core/include/redfish_test.cpp',
'test/redfish-core/include/utils/query_param_test.cpp',
'test/redfish-core/include/utils/sensor_utils_test.cpp',
'test/redfish-core/include/utils/stl_utils_test.cpp',