CbmRoot
|
#include "CbmDetectorList.h"
#include <TString.h>
#include <gtest/gtest-spi.h>
#include <gtest/gtest.h>
#include <iostream>
Go to the source code of this file.
Classes | |
struct | InOutStructure |
class | _TestCbmDetectorListBase< T > |
class | CbmDetectorListTest |
class | CbmDetectorListParamTest |
Functions | |
TEST (CbmDetectorList, outOfBounds) | |
TEST_P (CbmDetectorListParamTest, checkUniqueIdCreation) | |
INSTANTIATE_TEST_CASE_P (TestAllParameters, CbmDetectorListParamTest, ::testing::Values(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12)) | |
Variables | |
InOutStructure | val1 = {kREF, 0, "ref", "REF"} |
InOutStructure | val2 = {kMVD, 1, "mvd", "MVD"} |
InOutStructure | val3 = {kSTS, 2, "sts", "STS"} |
InOutStructure | val4 = {kRICH, 3, "rich", "RICH"} |
InOutStructure | val5 = {kMUCH, 4, "much", "MUCH"} |
InOutStructure | val6 = {kTRD, 5, "trd", "TRD"} |
InOutStructure | val7 = {kTOF, 6, "tof", "TOF"} |
InOutStructure | val8 = {kECAL, 7, "ecal", "ECAL"} |
InOutStructure | val9 = {kPSD, 8, "unknown", "PSD"} |
InOutStructure | val10 = {kSTT, 9, "unknown", "UNKNOWN"} |
InOutStructure | val11 = {kFHODO, 10, "fhodo", "FHODO"} |
InOutStructure | val12 = {kTutDet, 11, "tutdet", "TUTDET"} |
InOutStructure | val13 = {kNOFDETS, 12, "unknown", "UNKNOWN"} |
INSTANTIATE_TEST_CASE_P | ( | TestAllParameters | , |
CbmDetectorListParamTest | , | ||
::testing::Values(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12) | |||
) |
TEST | ( | CbmDetectorList | , |
outOfBounds | |||
) |
Definition at line 58 of file _GTestCbmDefs.cxx.
TEST_P | ( | CbmDetectorListParamTest | , |
checkUniqueIdCreation | |||
) |
Definition at line 75 of file _GTestCbmDefs.cxx.
InOutStructure val1 = {kREF, 0, "ref", "REF"} |
Definition at line 90 of file _GTestCbmDefs.cxx.
Referenced by TEST().
InOutStructure val10 = {kSTT, 9, "unknown", "UNKNOWN"} |
Definition at line 99 of file _GTestCbmDefs.cxx.
InOutStructure val11 = {kFHODO, 10, "fhodo", "FHODO"} |
Definition at line 100 of file _GTestCbmDefs.cxx.
InOutStructure val12 = {kTutDet, 11, "tutdet", "TUTDET"} |
Definition at line 101 of file _GTestCbmDefs.cxx.
InOutStructure val13 = {kNOFDETS, 12, "unknown", "UNKNOWN"} |
Definition at line 102 of file _GTestCbmDefs.cxx.
InOutStructure val2 = {kMVD, 1, "mvd", "MVD"} |
Definition at line 91 of file _GTestCbmDefs.cxx.
Referenced by TEST().
InOutStructure val3 = {kSTS, 2, "sts", "STS"} |
Definition at line 92 of file _GTestCbmDefs.cxx.
InOutStructure val4 = {kRICH, 3, "rich", "RICH"} |
Definition at line 93 of file _GTestCbmDefs.cxx.
InOutStructure val5 = {kMUCH, 4, "much", "MUCH"} |
Definition at line 94 of file _GTestCbmDefs.cxx.
InOutStructure val6 = {kTRD, 5, "trd", "TRD"} |
Definition at line 95 of file _GTestCbmDefs.cxx.
InOutStructure val7 = {kTOF, 6, "tof", "TOF"} |
Definition at line 96 of file _GTestCbmDefs.cxx.
InOutStructure val8 = {kECAL, 7, "ecal", "ECAL"} |
Definition at line 97 of file _GTestCbmDefs.cxx.
InOutStructure val9 = {kPSD, 8, "unknown", "PSD"} |
Definition at line 98 of file _GTestCbmDefs.cxx.