MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / StringifyPointer

Function StringifyPointer

data/config/ConfigSchemaValidationTest.cpp:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41std::string StringifyPointer(const rapidjson::Pointer& pointer) {
42 rapidjson::StringBuffer buffer;
43 pointer.Stringify(buffer);
44 return buffer.GetString();
45}
46
47TEST(ConfigSchemaValidationTest, BundledConfigsMatchSchema) {
48 std::unique_ptr<Runfiles> runfiles(Runfiles::CreateForTest());

Callers 1

TESTFunction · 0.85

Calls 1

GetStringMethod · 0.80

Tested by

no test coverage detected