-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add in unit tests to test the behavior of HSI_FRAME_STRUCT in buffer …
…objects (lower_bound behavior, request handler behavior)
- Loading branch information
1 parent
d6f1af8
commit 51ba08c
Showing
3 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* @file HSITypeAdapters_test.cxx | ||
* | ||
* Unittest for testing lower bound and request handling on HSI_FRAME_STRUCT | ||
* | ||
* This is part of the DUNE DAQ Application Framework, copyright 2022. | ||
* Licensing/copyright details are in the COPYING file that you should have | ||
* received with this code. | ||
*/ | ||
|
||
#define BOOST_TEST_MODULE HSITypeAdapters_test // NOLINT | ||
|
||
#include "hsilibs/Types.hpp" | ||
|
||
#include "datahandlinglibs/testutils/TestUtilities.hpp" | ||
#include "datahandlinglibs/models/BinarySearchQueueModel.hpp" | ||
|
||
#include "boost/test/unit_test.hpp" | ||
|
||
BOOST_AUTO_TEST_SUITE(HSITypeAdapters_test) | ||
|
||
BOOST_AUTO_TEST_CASE(TBinarySearchQueueModel_HSI_FRAME_STRUCT_TestQueue) | ||
{ | ||
dunedaq::datahandlinglibs::test::test_queue_model< | ||
dunedaq::datahandlinglibs::BinarySearchQueueModel, | ||
dunedaq::hsilibs::HSI_FRAME_STRUCT>(); | ||
} | ||
BOOST_AUTO_TEST_CASE(TBinarySearchQueueModel_HSI_FRAME_STRUCT_TestRequest) | ||
{ | ||
dunedaq::datahandlinglibs::test::test_request_model< | ||
dunedaq::datahandlinglibs::BinarySearchQueueModel, | ||
dunedaq::hsilibs::HSI_FRAME_STRUCT>(); | ||
} | ||
BOOST_AUTO_TEST_SUITE_END() | ||
|
||
|