Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Detectors/MUON/MCH/Raw/Encoder/Digit/testDigitTreeReader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ BOOST_AUTO_TEST_CASE(DigitTreeReaderMustThrowIfRofBranchIsOfTheWrongType)
BOOST_CHECK_THROW(DigitTreeReader dtr(&invalidRofs), std::invalid_argument);
}

//BOOST_AUTO_TEST_CASE(DigitTreeReaderMustThrowIfNoEntry)
// BOOST_AUTO_TEST_CASE(DigitTreeReaderMustThrowIfNoEntry)
//{
// TTree noEntry("noEntry", "All branches correct but no entry");
// std::vector<o2::mch::Digit> digits;
// std::vector<o2::mch::ROFRecord> rofs;
// noEntry.Branch("MCHDigit", &digits);
// noEntry.Branch("MCHROFRecords", &rofs);
// BOOST_CHECK_NO_THROW(DigitTreeReader dtr(&noEntry));
//}
// TTree noEntry("noEntry", "All branches correct but no entry");
// std::vector<o2::mch::Digit> digits;
// std::vector<o2::mch::ROFRecord> rofs;
// noEntry.Branch("MCHDigit", &digits);
// noEntry.Branch("MCHROFRecords", &rofs);
// BOOST_CHECK_NO_THROW(DigitTreeReader dtr(&noEntry));
// }

BOOST_AUTO_TEST_CASE(DigitTreeReaderMustNotThrowIfInputTreeHasAllBranchesAndAtLeastOneEntry)
{
Expand Down