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

Method testMapMap

lib/c_glib/test/testthrifttestclient.cpp:205–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 return thing; }
204
205 void testMapMap(map<int32_t, map<int32_t,int32_t> > &mapmap, const int32_t hello) override {
206 cout << "[C -> C++] testMapMap(" << hello << ")" << '\n';
207
208 map<int32_t,int32_t> pos;
209 map<int32_t,int32_t> neg;
210 for (int i = 1; i < 5; i++) {
211 pos.insert(make_pair(i,i));
212 neg.insert(make_pair(-i,-i));
213 }
214
215 mapmap.insert(make_pair(4, pos));
216 mapmap.insert(make_pair(-4, neg));
217
218 }
219
220 void testInsanity(map<UserId, map<Numberz::type,Insanity> > &insane, const Insanity &argument) override {
221 THRIFT_UNUSED_VARIABLE (argument);

Callers 2

test.tsFile · 0.45
executeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected