CppUnit::TextUi::TestRunner runner;
ModTextTestRunner runner;
int main( int argc, const char * const argv[]){        apr_app_initialize(&argc, &argv, NULL);        CppUnit::TextUi::TestRunner runner;        CppUnit::TestFactoryRegistry &registry =                CppUnit::TestFactoryRegistry::getRegistry();        runner.addTest(registry.makeTest());        bool wasSuccessful = true;        if (argc > 1)        {                for (int n = 1; n < argc; n++)                {                        try                        {                                wasSuccessful = runner.run(argv[n], false) && wasSuccessful;                        }                        catch(std::exception& e)                        {                                std::cout << e.what() << std::endl;                        }                        catch (...) {                                std::cout << "Unexpected exception";                        }                }        }        else        {                wasSuccessful = runner.run("", false);        }        apr_terminate();        return wasSuccessful ? EXIT_SUCCESS : EXIT_FAILURE;}