Home
last modified time | relevance | path

Searched refs:readJson (Results 1 – 8 of 8) sorted by relevance

/openbmc/bmcweb/test/redfish-core/include/utils/
H A Djson_utils_test.cpp41 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(jsonRequest, res, "integer", integer, "string0", str0, in TEST()
[all …]
/openbmc/phosphor-led-manager/manager/
H A Djson-parser.hpp31 Json readJson(const fs::path& path) in readJson() function
158 auto json = readJson(path); in loadJsonConfig()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_pdr_sensor_test.cpp97 ASSERT_THROW(pdr_utils::readJson("./pdr_jsons/state_sensor/malformed"), in TEST()
H A Dlibpldmresponder_pdr_effecter_test.cpp189 ASSERT_THROW(pdr_utils::readJson("./pdr_jsons/state_effecter/malformed"), in TEST()
/openbmc/pldm/libpldmresponder/
H A Dpdr_utils.hpp90 inline Json readJson(const std::string& path) in readJson() function
H A Dplatform.cpp117 auto json = readJson(dirEntry.path().string()); in generate()
/openbmc/bmcweb/redfish-core/lib/
H A Dmanagers.hpp978 if (!redfish::json_util::readJson( // in createPidInterface()
1087 if (!redfish::json_util::readJson( // in createPidInterface()
1127 if (!redfish::json_util::readJson( // in createPidInterface()
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp640 bool readJson(nlohmann::json& jsonRequest, crow::Response& res, in readJson() function