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.cpp42 ASSERT_TRUE(readJson(jsonRequest, res, "integer", integer, "string", str, in TEST()
80 ASSERT_TRUE(readJson(jsonRequest, res, "nullval", str)); in TEST()
93 ASSERT_TRUE(readJson(jsonRequest, res, "stringval", str)); in TEST()
100 TEST(readJson, ExtraElementsReturnsFalseReponseIsBadRequest) in TEST() argument
108 ASSERT_FALSE(readJson(jsonRequest, res, "integer", integer)); in TEST()
113 ASSERT_FALSE(readJson(jsonRequest, res, "string", str)); in TEST()
126 ASSERT_FALSE(readJson(jsonRequest, res, "integer", str0)); in TEST()
130 ASSERT_FALSE(readJson(jsonRequest, res, "string0", integer)); in TEST()
135 readJson(jsonRequest, res, "integer", str0, "string0", integer)); in TEST()
149 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.cpp96 ASSERT_THROW(pdr_utils::readJson("./pdr_jsons/state_sensor/malformed"), in TEST()
H A Dlibpldmresponder_pdr_effecter_test.cpp187 ASSERT_THROW(pdr_utils::readJson("./pdr_jsons/state_effecter/malformed"), in TEST()
/openbmc/pldm/libpldmresponder/
H A Dpdr_utils.hpp92 inline Json readJson(const std::string& path) in readJson() function
H A Dplatform.cpp116 auto json = readJson(dirEntry.path().string()); in generate()
/openbmc/bmcweb/redfish-core/lib/openbmc/
H A Dopenbmc_managers.hpp711 if (!redfish::json_util::readJson( // in createPidInterface()
820 if (!redfish::json_util::readJson( // in createPidInterface()
870 if (!redfish::json_util::readJson( // in createPidInterface()
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp643 bool readJson(nlohmann::json& jsonRequest, crow::Response& res, in readJson() function