"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "auxil/broker/tests/cpp/status_subscriber.cc" between
zeek-4.0.2.tar.gz and zeek-4.0.3.tar.gz

About: Zeek (formerly Bro) is a flexible network analysis framework focusing on network security monitoring. LTS (Long Term Support) release.

status_subscriber.cc  (zeek-4.0.2):status_subscriber.cc  (zeek-4.0.3)
skipping to change at line 43 skipping to change at line 43
FAIL("caf::make_node_id failed"); FAIL("caf::make_node_id failed");
node = std::move(*x); node = std::move(*x);
node_str = to_string(node); node_str = to_string(node);
} }
void push(error x) { void push(error x) {
data xs; data xs;
if (!convert(x, xs)) if (!convert(x, xs))
FAIL("unable to convert error to data"); FAIL("unable to convert error to data");
caf::anon_send(ep.core(), atom::publish_v, atom::local_v, caf::anon_send(ep.core(), atom::publish_v, atom::local_v,
make_data_message(topics::errors, std::move(xs))); make_data_message(topic::errors(), std::move(xs)));
} }
void push(status x) { void push(status x) {
data xs; data xs;
if (!convert(x, xs)) if (!convert(x, xs))
FAIL("unable to convert status to data"); FAIL("unable to convert status to data");
caf::anon_send(ep.core(), atom::publish_v, atom::local_v, caf::anon_send(ep.core(), atom::publish_v, atom::local_v,
make_data_message(topics::statuses, std::move(xs))); make_data_message(topic::statuses(), std::move(xs)));
} }
caf::node_id node; caf::node_id node;
std::string node_str; std::string node_str;
}; };
} // namespace <anonymous> } // namespace <anonymous>
CAF_TEST_FIXTURE_SCOPE(status_subscriber_tests, fixture) CAF_TEST_FIXTURE_SCOPE(status_subscriber_tests, fixture)
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)