Home
last modified time | relevance | path

Searched refs:objectKeyCmp (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/test/redfish-core/include/utils/
H A Djson_utils_test.cpp505 TEST(objectKeyCmp, PositiveCases) in TEST() argument
508 0, objectKeyCmp("@odata.id", in TEST()
512 0, objectKeyCmp("Name", in TEST()
515 EXPECT_EQ(0, objectKeyCmp( in TEST()
519 EXPECT_GT(0, objectKeyCmp( in TEST()
525 0, objectKeyCmp("@odata.id", in TEST()
529 0, objectKeyCmp("Name", in TEST()
534 objectKeyCmp( in TEST()
539 objectKeyCmp( in TEST()
549 EXPECT_GT(0, objectKeyCmp("Name", leftRequest, rightRequest)); in TEST()
[all …]
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp785 inline int objectKeyCmp(std::string_view key, const nlohmann::json& a, in objectKeyCmp() function
893 return objectKeyCmp("@odata.id", left, right); in odataObjectCmp()
905 return objectKeyCmp(key, left, right) < 0; in operator ()()