From fd920609819a5b10d3d7c8d34fe4fa4214c7da22 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 23 Nov 2017 12:15:00 -0800 Subject: VOM: Additions to allow uses to UT applications that use VOM - find object by key - compare objects Change-Id: I36ec8612be9482bcef7ceced2a59f7403f77b3e8 Signed-off-by: Neale Ranns --- test/ext/vom_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ext/vom_test.cpp b/test/ext/vom_test.cpp index 612a2d3a6cf..c9ae255a793 100644 --- a/test/ext/vom_test.cpp +++ b/test/ext/vom_test.cpp @@ -808,7 +808,7 @@ BOOST_AUTO_TEST_CASE(test_bridge) { HW::item hw_bea1(true, rc_t::OK); boost::asio::ip::address ip1 = boost::asio::ip::address::from_string("10.10.10.10"); - bridge_domain_arp_entry *bea1 = new bridge_domain_arp_entry(bd1, mac1, ip1); + bridge_domain_arp_entry *bea1 = new bridge_domain_arp_entry(bd1, ip1, mac1); ADD_EXPECT(bridge_domain_arp_entry_cmds::create_cmd(hw_be1, bd1.id(), mac1, ip1)); TRY_CHECK_RC(OM::write(dante, *bea1)); @@ -1315,7 +1315,7 @@ BOOST_AUTO_TEST_CASE(test_routing) { */ HW::item hw_neighbour(true, rc_t::OK); mac_address_t mac_n({0,1,2,4,5,6}); - neighbour *ne = new neighbour(itf1, mac_n, nh_10); + neighbour *ne = new neighbour(itf1, nh_10, mac_n); ADD_EXPECT(neighbour_cmds::create_cmd(hw_neighbour, hw_ifh.data(), mac_n, nh_10)); TRY_CHECK_RC(OM::write(ian, *ne)); -- cgit 1.2.3-korg