diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-02 09:52:34 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-13 14:17:30 -0500 |
commit | 5fb585c328a45b022744e884ec9d52808a9354cb (patch) | |
tree | 77d836399868ac84787daa81fe3b09afb022beb7 /host/lib/utils/cast.cpp | |
parent | 39158d18bd757111bd8356b46a7d53b971867559 (diff) | |
download | uhd-5fb585c328a45b022744e884ec9d52808a9354cb.tar.gz uhd-5fb585c328a45b022744e884ec9d52808a9354cb.tar.bz2 uhd-5fb585c328a45b022744e884ec9d52808a9354cb.zip |
tests: Allow custom name for mock terminator
Allow a unit test to instantiate a mock_terminator_t and provide a
custom name to be displayed when get_unique_id() is called (generally
for logging purposes). The custom name is optional and the generic
'MOCK_TERMINATOR' is used if unset.
Diffstat (limited to 'host/lib/utils/cast.cpp')
0 files changed, 0 insertions, 0 deletions