From ed5cb33eb402c5d34c330d1b9dcb99658c628a72 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 5 Apr 2010 18:11:32 -0700 Subject: renamed dict get key and value methods --- host/test/addr_test.cpp | 8 ++++---- host/test/gain_handler_test.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'host/test') diff --git a/host/test/addr_test.cpp b/host/test/addr_test.cpp index a5d2d4c06..2ec6de14b 100644 --- a/host/test/addr_test.cpp +++ b/host/test/addr_test.cpp @@ -50,16 +50,16 @@ BOOST_AUTO_TEST_CASE(test_device_addr){ BOOST_CHECK_EQUAL(dev_addr.size(), new_dev_addr.size()); //the keys should match - std::vector old_dev_addr_keys = dev_addr.get_keys(); - std::vector new_dev_addr_keys = new_dev_addr.get_keys(); + std::vector old_dev_addr_keys = dev_addr.keys(); + std::vector new_dev_addr_keys = new_dev_addr.keys(); BOOST_CHECK_EQUAL_COLLECTIONS( old_dev_addr_keys.begin(), old_dev_addr_keys.end(), new_dev_addr_keys.begin(), new_dev_addr_keys.end() ); //the vals should match - std::vector old_dev_addr_vals = dev_addr.get_vals(); - std::vector new_dev_addr_vals = new_dev_addr.get_vals(); + std::vector old_dev_addr_vals = dev_addr.vals(); + std::vector new_dev_addr_vals = new_dev_addr.vals(); BOOST_CHECK_EQUAL_COLLECTIONS( old_dev_addr_vals.begin(), old_dev_addr_vals.end(), new_dev_addr_vals.begin(), new_dev_addr_vals.end() diff --git a/host/test/gain_handler_test.cpp b/host/test/gain_handler_test.cpp index 72d26e1c2..bf2ec5db7 100644 --- a/host/test/gain_handler_test.cpp +++ b/host/test/gain_handler_test.cpp @@ -70,7 +70,7 @@ private: return; case PROP_GAIN_NAMES: - val = _gain_values.get_keys(); + val = _gain_values.keys(); return; } } -- cgit v1.2.3