MCPcopy Create free account
hub / github.com/cpputest/cpputest / CommandLineTestRunner

Class CommandLineTestRunner

include/CppUTest/CommandLineTestRunner.h:41–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39#define DEF_PLUGIN_SET_POINTER "SetPointerPlugin"
40
41class CommandLineTestRunner
42{
43public:
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
52protected:
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_;
59private:
60 CommandLineArguments* arguments_;
61 TestRegistry* registry_;
62
63 bool parseArguments(TestPlugin*);
64 int runAllTests();
65 void initializeTestRun();
66};
67
68#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected