aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/mock_block.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tests: mock_block: Allow mock blocks to carry MB controllersMartin Braun2020-10-091-5/+6
|
* tests: Allow custom mock_reg_iface_t in mock blockAaron Rossetto2020-03-131-2/+4
| | | | | | Allow clients to pass a custom instance of a mock_reg_iface_t for use with mock_block_container. This is especially useful when a block test subclasses mock_reg_iface_t to implement specialized behaviors.
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-1/+0
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* rfnoc: Create mock factoryMartin Braun2020-01-291-0/+52
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.