MCPcopy Create free account
hub / github.com/apache/qpid-proton / CHECKED_IF

Function CHECKED_IF

c/tests/connection_driver_test.cpp:319–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 pn_delivery_t *rd = d.server.handler.delivery;
318 d.server.handler.delivery = NULL;
319 CHECKED_IF(rd) {
320 CHECK(pn_delivery_current(rd));
321 std::string rbuf(tag.size() * 2, 'x');
322 CHECK(ssize_t(tag.size()) ==
323 pn_link_recv(pn_delivery_link(rd), &rbuf[0], rbuf.size()));
324 rbuf.resize(tag.size());
325 CHECK(tag == rbuf);
326 }
327 pn_delivery_settle(rd);
328 }
329}

Callers 1

send_receive_messageFunction · 0.85

Calls 7

pn_delivery_currentFunction · 0.85
pn_delivery_linkFunction · 0.85
message_decodeFunction · 0.70
pn_link_recvFunction · 0.50
EqualsFunction · 0.50
pn_message_get_addressFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected