add output for optional serialization test; closes #9

master
Marc Wäckerlin 13 years ago
parent 2096010ce0
commit 2bad956fc6
  1. 2
      test/optional_serialization_test.cxx

@ -109,7 +109,7 @@ CPPUNIT_TEST_SUITE_REGISTRATION(OptionalSerializationTest);
int main(int argc, char** argv) try { int main(int argc, char** argv) try {
std::ofstream ofs((*argv+std::string(".xml")).c_str()); std::ofstream ofs((*argv+std::string(".xml")).c_str());
CppUnit::TextUi::TestRunner runner; CppUnit::TextUi::TestRunner runner;
//runner.setOutputter(new CppUnit::XmlOutputter(&runner.result(), ofs)); runner.setOutputter(new CppUnit::XmlOutputter(&runner.result(), ofs));
runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest()); runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
return runner.run() ? 0 : 1; return runner.run() ? 0 : 1;
} catch (std::exception& e) { } catch (std::exception& e) {

Loading…
Cancel
Save