| 138 | } |
| 139 | |
| 140 | int 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 | |
| 149 | int test_container_default_vhost() { |
| 150 | proton::connection_options opts; |
no test coverage detected