diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-05 18:11:32 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-05 18:11:32 -0700 |
commit | ed5cb33eb402c5d34c330d1b9dcb99658c628a72 (patch) | |
tree | bb0a96351c4ce770b5f468558c1b8ff056f05e8e /host/test/addr_test.cpp | |
parent | 57f1f769e5e5bb07a5385955eee9390d0e1de908 (diff) | |
download | uhd-ed5cb33eb402c5d34c330d1b9dcb99658c628a72.tar.gz uhd-ed5cb33eb402c5d34c330d1b9dcb99658c628a72.tar.bz2 uhd-ed5cb33eb402c5d34c330d1b9dcb99658c628a72.zip |
renamed dict get key and value methods
Diffstat (limited to 'host/test/addr_test.cpp')
-rw-r--r-- | host/test/addr_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<std::string> old_dev_addr_keys = dev_addr.get_keys(); - std::vector<std::string> new_dev_addr_keys = new_dev_addr.get_keys(); + std::vector<std::string> old_dev_addr_keys = dev_addr.keys(); + std::vector<std::string> 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<std::string> old_dev_addr_vals = dev_addr.get_vals(); - std::vector<std::string> new_dev_addr_vals = new_dev_addr.get_vals(); + std::vector<std::string> old_dev_addr_vals = dev_addr.vals(); + std::vector<std::string> 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() |