ChimeraTK-DeviceAccess  03.18.00
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 <unordered_map>
#include <boost/bind/bind.hpp>
#include <boost/function.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/make_shared.hpp>
#include <algorithm>
#include <math.h>
+ 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 More...
 
 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 30 of file testScalarRegisterAccessor.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( testFloatRegisterAccessor  )

Definition at line 166 of file testScalarRegisterAccessor.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( testIntRegisterAccessor  )

Definition at line 55 of file testScalarRegisterAccessor.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( testUniqueID  )

Definition at line 244 of file testScalarRegisterAccessor.cpp.

+ Here is the call graph for this function:

◆ 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 213 of file testScalarRegisterAccessor.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( testWriteIfDifferent  )

Definition at line 320 of file testScalarRegisterAccessor.cpp.

+ Here is the call graph for this function: