diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-21 11:06:05 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-28 14:49:32 -0500 |
commit | 94b09ecadd278878779c47dd55d2503c1ba48d39 (patch) | |
tree | 7a7409f26c8b9003dddfef66c145771578809ea8 /host/docs | |
parent | cb99b720eee76dcf83ac89a2107f516443372b7f (diff) | |
download | uhd-94b09ecadd278878779c47dd55d2503c1ba48d39.tar.gz uhd-94b09ecadd278878779c47dd55d2503c1ba48d39.tar.bz2 uhd-94b09ecadd278878779c47dd55d2503c1ba48d39.zip |
tests: Add unit test for USE_MAP prop forwarding policy
This commit adds a unit test for the USE_MAP property forwarding policy.
It also adds a pair of new mock RFNoC nodes for use in unit testing:
- mock_edge_node_t is a node with a configurable number of input and
output ports each having an edge property named 'prop' associated with
each. The node is also able to source actions from any of its edges and
records incoming actions in a map.
- mock_routing_node_t is a do-nothing node specifically for testing
property and action forwarding between edges with the USE_MAP forwarding
strategy. The node has functions to configure the property and action
forwarding maps.
Diffstat (limited to 'host/docs')
0 files changed, 0 insertions, 0 deletions