#ifndef __TESTRUNNER_H__ #define __TESTRUNNER_H__ #include #include #include "TextTestResult.h" #include "MulticasterTest.h" using namespace std; typedef pair mapping; typedef vector > mappings; class TestAllocator; class TestRunner { protected: TestAllocator * allocator; bool m_wait; vector > m_mappings; public: TestRunner (); ~TestRunner (); void run (int ac, char **av); void addTest (string name, Test *test) { m_mappings.push_back (mapping (name, test)); } protected: void run (Test *test); void printBanner (); }; #endif __TESTRUNNER_H__