PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Unit tests for the XiaListModeDataDecoder class. More...
#include <stdexcept>
#include <UnitTest++.h>
#include "HelperEnumerations.hpp"
#include "UnitTestSampleData.hpp"
#include "XiaListModeDataDecoder.hpp"
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) |
Unit tests for the XiaListModeDataDecoder class.
Definition in file unittest-XiaListModeDataDecoder.cpp.
int main | ( | int | argv, |
char * | argc[] | ||
) |
Definition at line 74 of file unittest-XiaListModeDataDecoder.cpp.
TEST_FIXTURE | ( | XiaListModeDataDecoder | , |
TestBufferLengthChecks | |||
) |
Definition at line 24 of file unittest-XiaListModeDataDecoder.cpp.
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.
TEST_FIXTURE | ( | XiaListModeDataDecoder | , |
TestTraceDecoding | |||
) |
Definition at line 50 of file unittest-XiaListModeDataDecoder.cpp.
TEST_FIXTURE | ( | XiaListModeDataDecoder | , |
TestQdcDecoding | |||
) |
Definition at line 61 of file unittest-XiaListModeDataDecoder.cpp.
TEST_FIXTURE | ( | XiaListModeDataDecoder | , |
TestCfdTimeCalculation | |||
) |
Definition at line 67 of file unittest-XiaListModeDataDecoder.cpp.
|
static |
These need to be expanded so that we cover all of the nine different firmware and frequency combinations.