Searched refs:objectKeyCmp (Results 1 – 2 of 2) sorted by relevance
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | json_utils_test.cpp | 477 TEST(objectKeyCmp, PositiveCases) in TEST() argument 480 0, objectKeyCmp("@odata.id", in TEST() 484 0, objectKeyCmp("Name", in TEST() 487 EXPECT_EQ(0, objectKeyCmp( in TEST() 491 EXPECT_GT(0, objectKeyCmp( in TEST() 497 0, objectKeyCmp("@odata.id", in TEST() 501 0, objectKeyCmp("Name", in TEST() 506 objectKeyCmp( in TEST() 511 objectKeyCmp( in TEST() 521 EXPECT_GT(0, objectKeyCmp("Name", leftRequest, rightRequest)); in TEST() [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | json_utils.hpp | 744 inline int objectKeyCmp(std::string_view key, const nlohmann::json& a, in objectKeyCmp() function 852 return objectKeyCmp("@odata.id", left, right); in odataObjectCmp() 864 return objectKeyCmp(key, left, right) < 0; in operator ()()
|