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

Method testSet

test/cpp/src/TestServer.cpp:202–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 }
201
202 void testSet(set<int32_t>& out, const set<int32_t>& thing) override {
203 printf("testSet({");
204 set<int32_t>::const_iterator s_iter;
205 bool first = true;
206 for (s_iter = thing.begin(); s_iter != thing.end(); ++s_iter) {
207 if (first) {
208 first = false;
209 } else {
210 printf(", ");
211 }
212 printf("%d", *s_iter);
213 }
214 printf("})\n");
215 out = thing;
216 }
217
218 void testList(vector<int32_t>& out, const vector<int32_t>& thing) override {
219 printf("testList({");

Callers 2

testSetMethod · 0.45
mainFunction · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected