From a2ee029d0772e894911c84fb8a0cab5f253e145b Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 28 Nov 2017 22:29:13 -0800 Subject: VOM: logging, populate and stats fixes logging: allow a client to register a callback handler to recieve log messages that way the client can maintain a correctly sequenced log populate: fix the creation of interface and the setting of the handle stats: the reset promise idea is not defined behaviour. Use an eanble/disable command pair Change-Id: I347720bb65df2874c7619e722d593bc863ee2bf1 Signed-off-by: Neale Ranns --- test/ext/vom_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/ext') diff --git a/test/ext/vom_test.cpp b/test/ext/vom_test.cpp index c9ae255a793..91769155040 100644 --- a/test/ext/vom_test.cpp +++ b/test/ext/vom_test.cpp @@ -80,7 +80,7 @@ public: class MockListener : public interface::event_listener, public interface::stat_listener { - void handle_interface_stat(interface_cmds::stats_cmd *cmd) + void handle_interface_stat(interface_cmds::stats_enable_cmd *cmd) { } void handle_interface_event(interface_cmds::events_cmd *cmd) @@ -1463,8 +1463,6 @@ BOOST_AUTO_TEST_CASE(test_interface_events) { HW::enqueue(itf); HW::write(); - - HW::dequeue(itf); } BOOST_AUTO_TEST_CASE(test_interface_route_domain_change) { -- cgit 1.2.3-korg