MCPcopy Create free account
hub / github.com/apache/thrift / testBinary

Method testBinary

test/cpp/src/TestServer.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 void testBinary(std::string& _return, const std::string& thing) override {
137 std::ostringstream hexstr;
138 hexstr << std::hex << thing;
139 printf("testBinary(%lu: %s)\n", safe_numeric_cast<unsigned long>(thing.size()), hexstr.str().c_str());
140 _return = thing;
141 }
142
143 void testUuid(apache::thrift::TUuid& _return, const apache::thrift::TUuid& thing) override {
144 printf("testUuid(\"{%s}\")\n", to_string(thing).c_str());

Callers 2

testBinaryMethod · 0.45
binary_testFunction · 0.45

Calls 2

strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected