|
|
@ -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) { |
|
|
|