MCPcopy Create free account
hub / github.com/acl-dev/acl / test_info

Function test_info

lib_acl_cpp/samples/disque/disque_client/disque_client.cpp:171–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171static bool test_info(acl::disque& cmd, int i)
172{
173 cmd.clear();
174 std::map<acl::string, acl::string> infos;
175 if (cmd.info(infos) == false)
176 {
177 printf("info error: %s\r\n", cmd.result_error());
178 return false;
179 }
180 else if (i >= 10)
181 return true;
182
183 std::map<acl::string, acl::string>::const_iterator cit;
184 for (cit = infos.begin(); cit != infos.end(); ++cit)
185 printf("%s: %s\r\n", cit->first.c_str(), cit->second.c_str());
186 return true;
187}
188
189static bool test_hello(acl::disque& cmd, int i)
190{

Callers 1

mainFunction · 0.70

Calls 6

result_errorMethod · 0.80
beginMethod · 0.80
clearMethod · 0.45
infoMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…