42#include <boost/test/unit_test.hpp>
56 for (
size_t i = 0; i < 10; i++) {
57 const uint32_t expectedValue = uint16_t(getpid()) << 16 | i;
81 for (
size_t i = 0; i < 10; i++) {
82 const uint32_t expectedValue = uint16_t(getpid()) << 16 | i;
void dispatch()
Method to dispatch all queued transactions, and wait until all corresponding responses have been rece...
A class which bundles a node tree and an IPbus client interface together providing everything you nee...
ClientInterface & getClient()
Get the underlying IPbus client.
A class providing the core IPbus packing functionality.
ValWord< uint32_t > readConfigurationSpace(const uint32_t &aAddr)
Read a single, unmasked, unsigned word from the configuration address space.
A class which wraps a single word of data and marks whether or not it is valid.
T value() const
Return the value of the validated memory with check on validity.
None tests(nox.Session session)
BOOST_CHECK_THROW(hw.getNode("REG").writeBlockOffset(xx, 0), uhal::exception::BulkTransferOffsetRequestedForSingleRegister)
BOOST_CHECK_EQUAL(mem.size(), N)
#define UHAL_TESTS_DEFINE_CLIENT_TEST_CASES(test_suite_name, test_case_name, test_fixture, test_case_contents)