aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/rfnoc_detailgraph_test.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-06-01 23:41:47 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:23 -0800
commit0f8718176993b3460b12720e639b030be9b86943 (patch)
tree81820aad39192e63837c41e557bb6c559136415b /host/tests/rfnoc_detailgraph_test.cpp
parentdc9ca94afaa0a1c049eac934ad1c278deedc6766 (diff)
downloaduhd-0f8718176993b3460b12720e639b030be9b86943.tar.gz
uhd-0f8718176993b3460b12720e639b030be9b86943.tar.bz2
uhd-0f8718176993b3460b12720e639b030be9b86943.zip
rfnoc: graph: Add commit/release API
Diffstat (limited to 'host/tests/rfnoc_detailgraph_test.cpp')
-rw-r--r--host/tests/rfnoc_detailgraph_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/rfnoc_detailgraph_test.cpp b/host/tests/rfnoc_detailgraph_test.cpp
index 6273430e6..efae9ff4f 100644
--- a/host/tests/rfnoc_detailgraph_test.cpp
+++ b/host/tests/rfnoc_detailgraph_test.cpp
@@ -151,7 +151,7 @@ BOOST_AUTO_TEST_CASE(test_graph)
topo_sorted_nodes.at(0)->get_unique_id(), mock_rx_radio.get_unique_id());
// Now initialize the graph (will force a call to resolve_all_properties())
- graph.initialize();
+ graph.commit();
// This will be ignored
graph.connect(&mock_rx_radio, &mock_tx_radio, edge_info);
@@ -195,7 +195,7 @@ BOOST_AUTO_TEST_CASE(test_graph_unresolvable)
// Now create the graph and commit:
graph.connect(&mock_rx_radio, &mock_tx_radio, edge_info);
- graph.initialize();
+ graph.commit();
// Now set a property that will cause the graph to fail to resolve:
BOOST_REQUIRE_THROW(mock_tx_radio.set_property<double>("master_clock_rate", 100e6, 0),