ChimeraTK-DeviceAccess 03.25.00
Loading...
Searching...
No Matches
testScalarRegisterAccessor.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "accessPrivateData.h"
#include "Device.h"
#include "DummyBackend.h"
#include "DummyRegisterAccessor.h"
#include "ScalarRegisterAccessor.h"
#include "WriteCountingBackend.h"
#include <boost/bind/bind.hpp>
#include <boost/function.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/make_shared.hpp>
#include <math.h>
#include <algorithm>
#include <unordered_map>
+ Include dependency graph for testScalarRegisterAccessor.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   ScalarRegisterAccessorTest
 

Functions

 BOOST_AUTO_TEST_CASE (testCreation)
 
 BOOST_AUTO_TEST_CASE (testIntRegisterAccessor)
 
 BOOST_AUTO_TEST_CASE (testFloatRegisterAccessor)
 
 BOOST_AUTO_TEST_CASE (testWordOffset)
 test the scalar accessor as one value in a larger register
 
 BOOST_AUTO_TEST_CASE (testUniqueID)
 
 BOOST_AUTO_TEST_CASE (testWriteIfDifferent)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testScalarRegisterAccessor.cpp.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   ScalarRegisterAccessorTest

Definition at line 5 of file testScalarRegisterAccessor.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( testCreation  )

Definition at line 31 of file testScalarRegisterAccessor.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( testFloatRegisterAccessor  )

Definition at line 167 of file testScalarRegisterAccessor.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( testIntRegisterAccessor  )

Definition at line 56 of file testScalarRegisterAccessor.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( testUniqueID  )

Definition at line 245 of file testScalarRegisterAccessor.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( testWordOffset  )

test the scalar accessor as one value in a larger register

Definition at line 214 of file testScalarRegisterAccessor.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( testWriteIfDifferent  )

Definition at line 321 of file testScalarRegisterAccessor.cpp.