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

Method testNest

test/cpp/src/TestServer.cpp:157–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 void testNest(Xtruct2& out, const Xtruct2& nest) override {
158 const Xtruct& thing = nest.struct_thing;
159 printf("testNest({%d, {\"%s\", %d, %d, %" PRId64 "}, %d})\n",
160 (int)nest.byte_thing,
161 thing.string_thing.c_str(),
162 (int)thing.byte_thing,
163 thing.i32_thing,
164 thing.i64_thing,
165 nest.i32_thing);
166 out = nest;
167 }
168
169 void testMap(map<int32_t, int32_t>& out, const map<int32_t, int32_t>& thing) override {
170 printf("testMap({");

Callers 2

testNestMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected