summaryrefslogtreecommitdiffstats
path: root/host/test
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-06 11:46:19 -0700
committerJosh Blum <josh@joshknows.com>2010-04-06 11:46:19 -0700
commit9a0087da6c58e93fac6050c4541b1683a02b2d5b (patch)
tree495decb3c7a5dd0f1c6dac2b116c1f12859907be /host/test
parent275b29e07f97cdf638ecb22c602d26b7d340547a (diff)
parent8ee3d7200169983e7a20409ed5e8c37907fe66e1 (diff)
downloaduhd-9a0087da6c58e93fac6050c4541b1683a02b2d5b.tar.gz
uhd-9a0087da6c58e93fac6050c4541b1683a02b2d5b.tar.bz2
uhd-9a0087da6c58e93fac6050c4541b1683a02b2d5b.zip
Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhd into rfx
Diffstat (limited to 'host/test')
-rw-r--r--host/test/addr_test.cpp8
-rw-r--r--host/test/gain_handler_test.cpp2
2 files changed, 5 insertions, 5 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()
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;
}
}