File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
CondFormats/SiStripObjects/test/UnitTests Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 2424#include < cppunit/extensions/TestFactoryRegistry.h>
2525#include < cppunit/CompilerOutputter.h>
2626// #include <cppunit/TextTestProgressListener.h>
27- #include < cppunit/BriefTestProgressListener.h>
27+ #include < cppunit/BriefTestProgressListener.h>
2828
2929/* *
3030 * Main function used to run all tests.
3131 * We are not using the one in #include <Utilities/Testing/interface/CppUnit_testdriver.icpp>
3232 * because we use the BriefTestProgressListener to output the name of each test.
3333 */
3434
35- int main ( int argc, char * argv[] )
36- {
35+ int main (int argc, char * argv[]) {
3736 std::string testPath = (argc > 1 ) ? std::string (argv[1 ]) : " " ;
3837 CppUnit::TextUi::TestRunner runner;
39- CppUnit::TestFactoryRegistry & registry = CppUnit::TestFactoryRegistry::getRegistry ();
40- runner.addTest ( registry.makeTest () );
38+ CppUnit::TestFactoryRegistry& registry = CppUnit::TestFactoryRegistry::getRegistry ();
39+ runner.addTest (registry.makeTest ());
4140
4241 // Outputs the name of each test when it is executed.
4342 CppUnit::BriefTestProgressListener progress;
44- runner.eventManager ().addListener ( &progress );
43+ runner.eventManager ().addListener (&progress);
4544 runner.run ();
4645}
47-
48-
You can’t perform that action at this time.
0 commit comments