Skip to content
Snippets Groups Projects
Commit aee4e221 authored by Danilo Piparo's avatar Danilo Piparo
Browse files

[TTreeProcessorMT] Test for input chains associated to no file

parent 5823f225
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,19 @@ void DeleteFiles(const std::vector<std::string> &filenames)
gSystem->Unlink(f.c_str());
}
TEST(TreeProcessorMT, EmptyTChain)
{
TChain c("mytree");
auto exceptionFired(false);
try {
ROOT::TTreeProcessorMT proc(c);
} catch(...) {
exceptionFired = true;
}
EXPECT_TRUE(exceptionFired);
}
TEST(TreeProcessorMT, ManyFiles)
{
const auto nFiles = 100u;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment