Project
Loading...
Searching...
No Matches
testElinkEncoder.cxx File Reference
#include <boost/test/unit_test.hpp>
#include <iostream>
#include "BareElinkEncoder.h"
#include "UserLogicElinkEncoder.h"
#include "MCHRawCommon/SampaHeader.h"
#include <fstream>
#include <fmt/printf.h>
#include <boost/mpl/list.hpp>

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   Test MCHRaw ElinkEncoder
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Typedefs

typedef boost::mpl::list< BareFormat, UserLogicFormattestTypes
 

Functions

 BOOST_AUTO_TEST_CASE_TEMPLATE (CtorMustHaveElinkIdBetween0And39, T, testTypes)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (AddEmptyDataShouldThrow, T, testTypes)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (AddMixedDataShouldThrow, T, testTypes)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (ChannelIdIsBetween0And63, T, testTypes)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file testElinkEncoder.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file testElinkEncoder.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test MCHRaw ElinkEncoder

Definition at line 12 of file testElinkEncoder.cxx.

Typedef Documentation

◆ testTypes

typedef boost::mpl::list<BareFormat, UserLogicFormat> testTypes

Definition at line 31 of file testElinkEncoder.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/4]

BOOST_AUTO_TEST_CASE_TEMPLATE ( AddEmptyDataShouldThrow  ,
,
testTypes   
)

Definition at line 40 of file testElinkEncoder.cxx.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/4]

BOOST_AUTO_TEST_CASE_TEMPLATE ( AddMixedDataShouldThrow  ,
,
testTypes   
)

Definition at line 47 of file testElinkEncoder.cxx.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/4]

BOOST_AUTO_TEST_CASE_TEMPLATE ( ChannelIdIsBetween0And63  ,
,
testTypes   
)

Definition at line 57 of file testElinkEncoder.cxx.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/4]

BOOST_AUTO_TEST_CASE_TEMPLATE ( CtorMustHaveElinkIdBetween0And39  ,
,
testTypes   
)

Definition at line 33 of file testElinkEncoder.cxx.