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

Function test_container_vhost

cpp/src/container_test.cpp:140–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140int test_container_vhost() {
141 proton::connection_options opts;
142 opts.virtual_host("a.b.c");
143 test_handler th("", opts);
144 proton::container(th).run();
145 ASSERT_EQUAL(th.peer_vhost, "a.b.c");
146 return 0;
147}
148
149int test_container_default_vhost() {
150 proton::connection_options opts;

Callers 1

mainFunction · 0.85

Calls 3

containerClass · 0.70
virtual_hostMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected