| 39 | #define DEF_PLUGIN_SET_POINTER "SetPointerPlugin" |
| 40 | |
| 41 | class CommandLineTestRunner |
| 42 | { |
| 43 | public: |
| 44 | static int RunAllTests(int ac, const char *const *av); |
| 45 | static int RunAllTests(int ac, char** av); |
| 46 | |
| 47 | CommandLineTestRunner(int ac, const char *const *av, TestRegistry* registry); |
| 48 | virtual ~CommandLineTestRunner(); |
| 49 | |
| 50 | int runAllTestsMain(); |
| 51 | |
| 52 | protected: |
| 53 | virtual TestOutput* createTeamCityOutput(); |
| 54 | virtual TestOutput* createJUnitOutput(const SimpleString& packageName); |
| 55 | virtual TestOutput* createConsoleOutput(); |
| 56 | virtual TestOutput* createCompositeOutput(TestOutput* outputOne, TestOutput* outputTwo); |
| 57 | |
| 58 | TestOutput* output_; |
| 59 | private: |
| 60 | CommandLineArguments* arguments_; |
| 61 | TestRegistry* registry_; |
| 62 | |
| 63 | bool parseArguments(TestPlugin*); |
| 64 | int runAllTests(); |
| 65 | void initializeTestRun(); |
| 66 | }; |
| 67 | |
| 68 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected