MCPcopy Create free account
hub / github.com/apache/fory / TEST

Function TEST

cpp/fory/serialization/map_serializer_test.cc:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52// ============================================================================
53
54TEST(MapSerializerTest, EmptyMapRoundtrip) {
55 test_map_roundtrip(std::map<std::string, int32_t>{});
56 test_map_roundtrip(std::unordered_map<std::string, int32_t>{});
57}
58
59TEST(MapSerializerTest, SingleEntryMapRoundtrip) {
60 test_map_roundtrip(std::map<std::string, int32_t>{{"one", 1}});

Callers

nothing calls this directly

Calls 15

test_map_roundtripFunction · 0.85
beginMethod · 0.80
endMethod · 0.80
serializeMethod · 0.65
errorMethod · 0.65
valueMethod · 0.65
getMethod · 0.65
buildMethod · 0.45
compatibleMethod · 0.45
xlangMethod · 0.45
okMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected