#include <cppunit/extensions/HelperMacros.h>
#include "RawDAQDataConstructor.h"
#include <DAQDataFormats/DataFormatException.h>
#include <boost/shared_ptr.hpp>
Go to the source code of this file.
Classes | |
class | daqdataformats::RawDAQDataUnitTest |
Base class for RawDAQData unittest. More... | |
Namespaces | |
daqdataformats | |
Class to hold the data from the FEBs in correct formats. | |
Macros | |
#define | VERSION_LOOP_iver(ACTION) |
Perform some action that depends on iver. More... | |
#define | ASSERT_VERSION_LOOP_iver(ACTION) VERSION_LOOP_iver(CPPUNIT_ASSERT(ACTION)) |
Assert some action that depends on iver. More... | |
#define | DEFINE_checkDeepCopyConstructor(CLASS) |
Standard function that checks Deep Copy Constructor. More... | |
#define | DEFINE_checkShallowCopyConstructor(CLASS) |
Standard function that checks Shallow Copy Constructor. More... | |
#define | DEFINE_testReadDataIntoSameVersion |
#define | DEFINE_testReadDataIntoUnknownVersion void testReadDataIntoUnknownVersion() {LOG_DEBUG("UNITTEST")<<__PRETTY_FUNCTION__<<std::endl; CPPUNIT_ASSERT(checkReadDataIntoUnknownVersion());} |
Enumerations | |
enum | daqdataformats::DATAFORMAT_COMPARE_RESULTS { daqdataformats::DATAFORMATS_ARE_DIFFERENT = 1, daqdataformats::DATAFORMATS_ARE_THE_SAME, daqdataformats::FIRST_CONTAINS_SECOND, daqdataformats::SECOND_CONTAINS_FIRST } |
Enumeration of the two dataformat comparisson results. More... | |
Functions | |
std::string | daqdataformats::getNameForResults (const DATAFORMAT_COMPARE_RESULTS res) |
#define ASSERT_VERSION_LOOP_iver | ( | ACTION | ) | VERSION_LOOP_iver(CPPUNIT_ASSERT(ACTION)) |
Assert some action that depends on iver.
Definition at line 35 of file RawDAQDataUnitTest.h.
#define DEFINE_checkDeepCopyConstructor | ( | CLASS | ) |
Standard function that checks Deep Copy Constructor.
Definition at line 38 of file RawDAQDataUnitTest.h.
#define DEFINE_checkShallowCopyConstructor | ( | CLASS | ) |
Standard function that checks Shallow Copy Constructor.
Definition at line 63 of file RawDAQDataUnitTest.h.
#define DEFINE_testReadDataIntoSameVersion |
Definition at line 87 of file RawDAQDataUnitTest.h.
#define DEFINE_testReadDataIntoUnknownVersion void testReadDataIntoUnknownVersion() {LOG_DEBUG("UNITTEST")<<__PRETTY_FUNCTION__<<std::endl; CPPUNIT_ASSERT(checkReadDataIntoUnknownVersion());} |
Definition at line 93 of file RawDAQDataUnitTest.h.
#define VERSION_LOOP_iver | ( | ACTION | ) |
Perform some action that depends on iver.
Definition at line 23 of file RawDAQDataUnitTest.h.
Referenced by daqdataformats::RawDAQDataUnitTest::basicFieldGetAndSetChecks(), daqdataformats::RawDAQDataUnitTest::checkReadDataIntoSameVersion(), and daqdataformats::RawDAQDataUnitTest::checkReadDataIntoUnknownVersion().