diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-27 21:36:46 -0800 |
---|---|---|
committer | atrnati <54334261+atrnati@users.noreply.github.com> | 2020-01-29 08:57:25 -0600 |
commit | 0a49a8844a65698b11fe979441a97939dad80044 (patch) | |
tree | 30bbd6fb82c17abf7db4627250f3586a8d6fb175 /host/tests/client_zero_test.cpp | |
parent | 25b434ae858dd476e13738e0acaa9edeb019cee4 (diff) | |
download | uhd-0a49a8844a65698b11fe979441a97939dad80044.tar.gz uhd-0a49a8844a65698b11fe979441a97939dad80044.tar.bz2 uhd-0a49a8844a65698b11fe979441a97939dad80044.zip |
rfnoc: Create mock factory
This is an API that allows creating mock block controllers, to write
unit tests for block controllers. See rfnoc_blocks_test for an example
how to use them.
Diffstat (limited to 'host/tests/client_zero_test.cpp')
-rw-r--r-- | host/tests/client_zero_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/host/tests/client_zero_test.cpp b/host/tests/client_zero_test.cpp index e97dd83e2..927161418 100644 --- a/host/tests/client_zero_test.cpp +++ b/host/tests/client_zero_test.cpp @@ -5,6 +5,7 @@ // #include <uhd/rfnoc/register_iface.hpp> +#include <uhd/rfnoc/mock_block.hpp> #include <uhd/utils/log.hpp> #include <uhdlib/rfnoc/client_zero.hpp> #include <uhdlib/utils/narrow.hpp> @@ -14,8 +15,6 @@ #include <cstring> #include <memory> -#include "rfnoc_mock_reg_iface.hpp" - using namespace uhd; using namespace uhd::rfnoc; |