Searched refs:getSRCReasonCode (Results 1 – 3 of 3) sorted by relevance
421 uint16_t getSRCReasonCode(const nlohmann::json& src, const std::string& name);
160 uint16_t getSRCReasonCode(const nlohmann::json& src, const std::string& name) in getSRCReasonCode() function785 entry.src.reasonCode = helper::getSRCReasonCode(src, name); in lookup()
365 EXPECT_EQ(getSRCReasonCode(R"({"ReasonCode": "0x5555"})"_json, "foo"), in TEST_F()368 EXPECT_THROW(getSRCReasonCode(R"({"ReasonCode": "ZZZZ"})"_json, "foo"), in TEST_F()