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

Function test_dynamic_node_properties

cpp/src/link_test.cpp:126–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124};
125
126int test_dynamic_node_properties() {
127
128 std::string recv_address("127.0.0.1:0");
129 test_server server(recv_address);
130 proton::container c(server);
131 std::thread thread_recv([&c]() -> void { c.run(); });
132
133 // wait until listener is ready
134 std::unique_lock<std::mutex> lk(m);
135 cv.wait(lk, [] { return listener_ready; });
136
137 std::string send_address = "127.0.0.1:" + std::to_string(listener_port);
138 test_client client(send_address);
139 proton::container(client).run();
140 thread_recv.join();
141
142 return 0;
143}
144
145int test_link_name()
146{

Callers 1

mainFunction · 0.85

Calls 5

joinMethod · 0.80
to_stringFunction · 0.70
containerClass · 0.70
waitMethod · 0.65
runMethod · 0.45

Tested by

no test coverage detected