Skip to content

Commit

Permalink
Build all test code and update it to recent changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lassi Tuura committed Oct 5, 2009
1 parent 5e7ae5e commit 2fe3354
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions DQMServices/Core/test/DQMBackEndInterfaceExample.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ void DQMStoreExample::integrityChecks()

// contents of "C1/C2" (including subdirectories)
contents.clear();
contents.push_back(f1); contents.push_back(h5);
contents.push_back(h6); contents.push_back(i1);
contents.push_back(h1); contents.push_back(h2);
contents.push_back(h7); contents.push_back(s1);
contents.push_back(h64); contents.push_back(h8);
contents.push_back(f1); contents.push_back(h5);
contents.push_back(h6); contents.push_back(i1);
dbe_ret = dbe->getAllContents("C1/C2");
assert(dbe_ret == contents);
dbe_ret = dbe->getAllContents("C1/C2/"); // w/ or w/o a "slash" at the end
Expand All @@ -203,15 +203,14 @@ void DQMStoreExample::integrityChecks()

// contents of "C1/C2": only histograms (including subdirectories)
contents.clear();
contents.push_back(h5); contents.push_back(h6);
contents.push_back(h1); contents.push_back(h2);
contents.push_back(h7);
contents.push_back(h64); contents.push_back(h8);
contents.push_back(h5);
contents.push_back(h6);
dbe_ret = dbe->getMatchingContents("C1/C2/*histo*");
assert(dbe_ret == contents);

contents.erase(contents.begin());
contents.erase(contents.begin()+2); // h1
dbe_ret = dbe->getMatchingContents("C1/C2/*sto?");
assert(dbe_ret == contents);
}
Expand Down

0 comments on commit 2fe3354

Please sign in to comment.