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

Function assert_refcount

c/tests/refcount_test.cpp:215–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215static void assert_refcount(void *object, int expected) {
216 int rc = pn_refcount(object);
217 // printf("pn_refcount(%s) = %d\n", pn_object_reify(object)->name, rc);
218 REQUIRE(rc == expected);
219}
220
221static void test_decref_order(int *indexes, void **objects) {
222 setup(objects);

Callers 1

test_decref_orderFunction · 0.85

Calls 1

pn_refcountFunction · 0.85

Tested by

no test coverage detected