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

Function test_no_container

cpp/src/connection_driver_test.cpp:316–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316void test_no_container() {
317 // An driver with no container should throw, not crash.
318 connection_driver d;
319 try {
320 d.connection().container();
321 FAIL("expected error");
322 } catch (const proton::error&) {}
323}
324
325void test_spin_interrupt() {
326 // Check the test framework interrupts a spinning driver pair with nothing to do.

Callers 1

mainFunction · 0.85

Calls 2

containerMethod · 0.45
connectionMethod · 0.45

Tested by

no test coverage detected