Home
last modified time | relevance | path

Searched refs:jsonRequest (Results 1 – 3 of 3) sorted by relevance

/openbmc/bmcweb/test/redfish-core/include/
H A Dredfish_aggregator_test.cpp57 nlohmann::json jsonRequest; in TEST() local
91 jsonRequest["@odata.id"] = initial; in TEST()
92 addPrefixToItem(jsonRequest["@odata.id"], "asdfjkl"); in TEST()
93 EXPECT_EQ(jsonRequest["@odata.id"], correct); in TEST()
100 nlohmann::json jsonRequest; in TEST() local
125 jsonRequest["@odata.id"] = initial; in TEST()
127 EXPECT_EQ(jsonRequest["@odata.id"], initial); in TEST()
134 nlohmann::json jsonRequest; in TEST() local
152 jsonRequest["@odata.id"] = initial; in TEST()
153 addPrefixToItem(jsonRequest["@odata.id"], "prefix"); in TEST()
[all …]
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Djson_utils_test.cpp32 nlohmann::json jsonRequest = {{"integer", 1}, in TEST() local
52 nlohmann::json::object_t jsonRequest; in TEST() local
53 jsonRequest["integer"] = 1; in TEST()
54 jsonRequest["string"] = "hello"; in TEST()
55 jsonRequest["vector"] = std::vector<uint64_t>{1, 2, 3}; in TEST()
73 nlohmann::json jsonRequest = {{"nullval", nullptr}}; in TEST() local
160 nlohmann::json jsonRequest = R"( in TEST() local
177 nlohmann::json jsonRequest = R"( in TEST() local
193 nlohmann::json jsonRequest = R"( in TEST() local
211 nlohmann::json jsonRequest = R"( in TEST() local
[all …]
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp613 jsonRequest.get_ptr<nlohmann::json::object_t*>(); in readJsonHelper()
648 return readJsonHelperObject(jsonRequest, res, toUnpack2); in readJsonObject()
656 jsonRequest.get_ptr<nlohmann::json::object_t*>(); in readJson()
670 nlohmann::json jsonRequest; in readJsonPatchHelper() local
677 jsonRequest.get_ptr<nlohmann::json::object_t*>(); in readJsonPatchHelper()
704 std::optional<nlohmann::json::object_t> jsonRequest = in readJsonPatch() local
706 if (!jsonRequest) in readJsonPatch()
710 if (jsonRequest->empty()) in readJsonPatch()
716 return readJsonObject(*jsonRequest, res, key, in readJsonPatch()
724 nlohmann::json jsonRequest; in readJsonAction() local
[all …]