#ifndef ARABICA_TEST_RUNNER_HPP #define ARABICA_TEST_RUNNER_HPP #include "../CppUnit/framework/Test.h" #include class TestRunner { protected: bool verbose_; bool m_wait; std::vector > m_mappings; public: TestRunner() : m_wait(false), verbose_(true) {} ~TestRunner(); void run(int ac, const char **av); void addTest(std::string name, Test *test) { m_mappings.push_back(std::make_pair(name, test)); } protected: void run(Test *test); void printBanner(); }; // TestRunner; #endif