Searched refs:readJson (Results 1 – 8 of 8) sorted by relevance
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | json_utils_test.cpp | 41 ASSERT_TRUE(readJson(jsonRequest, res, "integer", integer, "string", str, in TEST() 79 ASSERT_TRUE(readJson(jsonRequest, res, "nullval", str)); in TEST() 92 ASSERT_TRUE(readJson(jsonRequest, res, "stringval", str)); in TEST() 99 TEST(readJson, ExtraElementsReturnsFalseReponseIsBadRequest) in TEST() argument 107 ASSERT_FALSE(readJson(jsonRequest, res, "integer", integer)); in TEST() 112 ASSERT_FALSE(readJson(jsonRequest, res, "string", str)); in TEST() 125 ASSERT_FALSE(readJson(jsonRequest, res, "integer", str0)); in TEST() 129 ASSERT_FALSE(readJson(jsonRequest, res, "string0", integer)); in TEST() 134 readJson(jsonRequest, res, "integer", str0, "string0", integer)); in TEST() 148 ASSERT_FALSE(readJson(jsonReques in TEST() [all...] |
/openbmc/phosphor-led-manager/manager/ |
H A D | json-parser.hpp | 31 Json readJson(const fs::path& path) in readJson() function 158 auto json = readJson(path); in loadJsonConfig()
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_pdr_sensor_test.cpp | 97 ASSERT_THROW(pdr_utils::readJson("./pdr_jsons/state_sensor/malformed"), in TEST()
|
H A D | libpldmresponder_pdr_effecter_test.cpp | 189 ASSERT_THROW(pdr_utils::readJson("./pdr_jsons/state_effecter/malformed"), in TEST()
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_utils.hpp | 90 inline Json readJson(const std::string& path) in readJson() function
|
H A D | platform.cpp | 117 auto json = readJson(dirEntry.path().string()); in generate()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | managers.hpp | 1000 if (!redfish::json_util::readJson( // in createPidInterface() 1109 if (!redfish::json_util::readJson( // in createPidInterface() 1149 if (!redfish::json_util::readJson( // in createPidInterface()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | json_utils.hpp | 639 bool readJson(nlohmann::json& jsonRequest, crow::Response& res, 640 bool readJson(nlohmann::json& jsonRequest, crow::Response& res, readJson() function
|