PAASS
Software suite to Acquire and Analyze Data from Pixie16
unittest-XiaListModeDataDecoder.cpp File Reference

Unit tests for the XiaListModeDataDecoder class. More...

#include <stdexcept>
#include <UnitTest++.h>
#include "HelperEnumerations.hpp"
#include "UnitTestSampleData.hpp"
#include "XiaListModeDataDecoder.hpp"
Include dependency graph for unittest-XiaListModeDataDecoder.cpp:

Go to the source code of this file.

Functions

 TEST_FIXTURE (XiaListModeDataDecoder, TestBufferLengthChecks)
 
 TEST_FIXTURE (XiaListModeDataDecoder, TestHeaderDecoding)
 
 TEST_FIXTURE (XiaListModeDataDecoder, TestTraceDecoding)
 
 TEST_FIXTURE (XiaListModeDataDecoder, TestQdcDecoding)
 
 TEST_FIXTURE (XiaListModeDataDecoder, TestCfdTimeCalculation)
 
int main (int argv, char *argc[])
 

Variables

static const XiaListModeDataMask mask (R30474, 250)
 

Detailed Description

Unit tests for the XiaListModeDataDecoder class.

Author
S. V. Paulauskas
December 25, 2016

Definition in file unittest-XiaListModeDataDecoder.cpp.

Function Documentation

§ main()

int main ( int  argv,
char *  argc[] 
)

Definition at line 74 of file unittest-XiaListModeDataDecoder.cpp.

§ TEST_FIXTURE() [1/5]

TEST_FIXTURE ( XiaListModeDataDecoder  ,
TestBufferLengthChecks   
)

Definition at line 24 of file unittest-XiaListModeDataDecoder.cpp.

§ TEST_FIXTURE() [2/5]

TEST_FIXTURE ( XiaListModeDataDecoder  ,
TestHeaderDecoding   
)

Test if we can decode a simple 4 word header that includes the Pixie Module Data Header.

Definition at line 33 of file unittest-XiaListModeDataDecoder.cpp.

Here is the call graph for this function:

§ TEST_FIXTURE() [3/5]

TEST_FIXTURE ( XiaListModeDataDecoder  ,
TestTraceDecoding   
)

Definition at line 50 of file unittest-XiaListModeDataDecoder.cpp.

Here is the call graph for this function:

§ TEST_FIXTURE() [4/5]

TEST_FIXTURE ( XiaListModeDataDecoder  ,
TestQdcDecoding   
)

Definition at line 61 of file unittest-XiaListModeDataDecoder.cpp.

Here is the call graph for this function:

§ TEST_FIXTURE() [5/5]

TEST_FIXTURE ( XiaListModeDataDecoder  ,
TestCfdTimeCalculation   
)

Definition at line 67 of file unittest-XiaListModeDataDecoder.cpp.

Here is the call graph for this function:

Variable Documentation

§ mask

const XiaListModeDataMask mask(R30474, 250)
static

These need to be expanded so that we cover all of the nine different firmware and frequency combinations.