aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests/common')
-rw-r--r--host/tests/common/mock_link.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/host/tests/common/mock_link.hpp b/host/tests/common/mock_link.hpp
index 73a65916c..a62aa49c7 100644
--- a/host/tests/common/mock_link.hpp
+++ b/host/tests/common/mock_link.hpp
@@ -128,6 +128,11 @@ public:
_simulate_io_timeout = simulate_io_timeout;
}
+ adapter_id_t get_send_adapter_id() const
+ {
+ return NULL_ADAPTER_ID;
+ }
+
private:
// Friend declaration to allow base class to call private methods
friend base_t;
@@ -223,6 +228,11 @@ public:
_rx_lens.push_back(len);
}
+ adapter_id_t get_recv_adapter_id() const
+ {
+ return NULL_ADAPTER_ID;
+ }
+
private:
// Friend declaration to allow base class to call private methods
friend base_t;