| 188 | } |
| 189 | |
| 190 | int test_container_properties() { |
| 191 | proton::connection_options opts; |
| 192 | std::map<proton::symbol, proton::value> props; |
| 193 | props["qpid.client_process"] = "test_process"; |
| 194 | props["qpid.client_pid"] = 123; |
| 195 | opts.properties(props); |
| 196 | test_handler th("", opts); |
| 197 | proton::container(th).run(); |
| 198 | ASSERT_EQUAL(th.peer_properties.size(), 2u); |
| 199 | ASSERT_EQUAL(th.peer_properties["qpid.client_process"], "test_process"); |
| 200 | ASSERT_EQUAL(th.peer_properties["qpid.client_pid"], 123); |
| 201 | return 0; |
| 202 | } |
| 203 | |
| 204 | int test_container_bad_address() { |
| 205 | // Listen on a bad address, check for leaks |
no test coverage detected