Project
Loading...
Searching...
No Matches
testDCSNamer.cxx File Reference
#include <boost/test/unit_test.hpp>
#include "MIDConditions/DCSNamer.h"
#include "MIDBase/DetectorParameters.h"
#include "HVAliases.h"
#include <algorithm>
#include <fmt/format.h>

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   Test MIDConditions DCSNamer
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 BOOST_AUTO_TEST_CASE (detElemId2DCSMustReturnNothingIfDetElemIdIsNotValid)
 
 BOOST_AUTO_TEST_CASE (DE4isInside)
 
 BOOST_AUTO_TEST_CASE (DE36isOutside)
 
 BOOST_AUTO_TEST_CASE (detElemId2DCSMustReturnChamberIdAndSideIfDetElemIdIsValid)
 
 BOOST_AUTO_TEST_CASE (NumberOfHVAliasesVoltagesIs72)
 
 BOOST_AUTO_TEST_CASE (NumberOfHVAliasesCurrentsIs72)
 
 BOOST_AUTO_TEST_CASE (AliasNameIsShortEnough)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file testDCSNamer.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file testDCSNamer.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test MIDConditions DCSNamer

Definition at line 12 of file testDCSNamer.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( AliasNameIsShortEnough  )

Definition at line 71 of file testDCSNamer.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( DE36isOutside  )

Definition at line 40 of file testDCSNamer.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( DE4isInside  )

Definition at line 36 of file testDCSNamer.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( detElemId2DCSMustReturnChamberIdAndSideIfDetElemIdIsValid  )

Definition at line 45 of file testDCSNamer.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( detElemId2DCSMustReturnNothingIfDetElemIdIsNotValid  )

Definition at line 29 of file testDCSNamer.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( NumberOfHVAliasesCurrentsIs72  )

Definition at line 62 of file testDCSNamer.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/7]

BOOST_AUTO_TEST_CASE ( NumberOfHVAliasesVoltagesIs72  )

Definition at line 53 of file testDCSNamer.cxx.