ChimeraTK-DeviceAccess 03.29.00
Loading...
Searching...
No Matches
testNumericAddressingSyntax.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "NumericAddressedRegisterCatalogue.h"
+ Include dependency graph for testNumericAddressingSyntax.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   NumericAddressingSyntaxTest
 

Functions

void compareRegister (NumericAddressedRegisterInfo info, RegisterPath const &pathName, uint32_t nElements, uint64_t address, uint32_t nBytes, uint64_t bar, uint32_t width, int32_t nFractionalBits, bool signedFlag)
 
 BOOST_AUTO_TEST_CASE (TestLegacyScalar)
 
 BOOST_AUTO_TEST_CASE (TestLegacyOneD)
 
 BOOST_AUTO_TEST_CASE (TestUnsigned8)
 
 BOOST_AUTO_TEST_CASE (TestSigned8)
 
 BOOST_AUTO_TEST_CASE (TestUnsigned16)
 
 BOOST_AUTO_TEST_CASE (TestSigned16)
 
 BOOST_AUTO_TEST_CASE (TestUnsigned32)
 
 BOOST_AUTO_TEST_CASE (TestSigned32)
 
 BOOST_AUTO_TEST_CASE (TestUnsigned64)
 
 BOOST_AUTO_TEST_CASE (TestSigned64)
 
 BOOST_AUTO_TEST_CASE (TestReverseOrderU32)
 
 BOOST_AUTO_TEST_CASE (TestReverseOrderS16)
 
 BOOST_AUTO_TEST_CASE (TestOnlyU8)
 
 BOOST_AUTO_TEST_CASE (TestOnlyS8)
 
 BOOST_AUTO_TEST_CASE (TestOnlyU16)
 
 BOOST_AUTO_TEST_CASE (TestOnlyS16)
 
 BOOST_AUTO_TEST_CASE (TestOnlyU32)
 
 BOOST_AUTO_TEST_CASE (TestOnlyS32)
 
 BOOST_AUTO_TEST_CASE (TestOnlyU64)
 
 BOOST_AUTO_TEST_CASE (TestOnlyS64)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testNumericAddressingSyntax.cpp.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   NumericAddressingSyntaxTest

Definition at line 5 of file testNumericAddressingSyntax.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/20]

BOOST_AUTO_TEST_CASE ( TestLegacyOneD  )

Definition at line 47 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/20]

BOOST_AUTO_TEST_CASE ( TestLegacyScalar  )

Definition at line 38 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/20]

BOOST_AUTO_TEST_CASE ( TestOnlyS16  )

Definition at line 173 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/20]

BOOST_AUTO_TEST_CASE ( TestOnlyS32  )

Definition at line 191 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/20]

BOOST_AUTO_TEST_CASE ( TestOnlyS64  )

Definition at line 209 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/20]

BOOST_AUTO_TEST_CASE ( TestOnlyS8  )

Definition at line 155 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/20]

BOOST_AUTO_TEST_CASE ( TestOnlyU16  )

Definition at line 164 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/20]

BOOST_AUTO_TEST_CASE ( TestOnlyU32  )

Definition at line 182 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/20]

BOOST_AUTO_TEST_CASE ( TestOnlyU64  )

Definition at line 200 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/20]

BOOST_AUTO_TEST_CASE ( TestOnlyU8  )

Definition at line 146 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/20]

BOOST_AUTO_TEST_CASE ( TestReverseOrderS16  )

Definition at line 137 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/20]

BOOST_AUTO_TEST_CASE ( TestReverseOrderU32  )

Definition at line 128 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/20]

BOOST_AUTO_TEST_CASE ( TestSigned16  )

Definition at line 83 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/20]

BOOST_AUTO_TEST_CASE ( TestSigned32  )

Definition at line 101 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/20]

BOOST_AUTO_TEST_CASE ( TestSigned64  )

Definition at line 119 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/20]

BOOST_AUTO_TEST_CASE ( TestSigned8  )

Definition at line 65 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/20]

BOOST_AUTO_TEST_CASE ( TestUnsigned16  )

Definition at line 74 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/20]

BOOST_AUTO_TEST_CASE ( TestUnsigned32  )

Definition at line 92 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/20]

BOOST_AUTO_TEST_CASE ( TestUnsigned64  )

Definition at line 110 of file testNumericAddressingSyntax.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/20]

BOOST_AUTO_TEST_CASE ( TestUnsigned8  )

Definition at line 56 of file testNumericAddressingSyntax.cpp.

◆ compareRegister()

void compareRegister ( NumericAddressedRegisterInfo  info,
RegisterPath const &  pathName,
uint32_t  nElements,
uint64_t  address,
uint32_t  nBytes,
uint64_t  bar,
uint32_t  width,
int32_t  nFractionalBits,
bool  signedFlag 
)

Definition at line 15 of file testNumericAddressingSyntax.cpp.