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

Function test_container_default_vhost

cpp/src/container_test.cpp:149–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149int test_container_default_vhost() {
150 proton::connection_options opts;
151 test_handler th("127.0.0.1", opts);
152 proton::container(th).run();
153 ASSERT_EQUAL(th.peer_vhost, "127.0.0.1");
154 return 0;
155}
156
157int test_container_no_vhost() {
158 // explicitly setting an empty virtual-host will cause the Open

Callers 1

mainFunction · 0.85

Calls 2

containerClass · 0.70
runMethod · 0.45

Tested by

no test coverage detected