CppUnitTestRunner.h
Go to the documentation of this file.
1 #pragma once
2 
5 {
6 public:
7  CppUnitTestRunner(void);
8  ~CppUnitTestRunner(void);
9 
11  int Run(int argc, char* argv[]);
13  int Run();
14 
16  std::string Help();
18  const static std::string& XmlPath() { return s_XmlPath; }
19 
20 private:
22  int Run(std::vector<CPPUNIT_NS::Test *>& tests);
24  std::string Help(CPPUNIT_NS::Test *, int level = 0);
26  static std::string s_XmlPath;
28  std::string m_TestSuiteName;
29 };
static const std::string & XmlPath()
returns xml configuration file path
Definition: CppUnitTestRunner.h:18
std::string Help()
list all unit tests and command line help
Definition: CppUnitTestRunner.cpp:24
A CPPUnit test runner.
Definition: CppUnitTestRunner.h:4
int Run()
runs all tests
Definition: CppUnitTestRunner.cpp:79
~CppUnitTestRunner(void)
Definition: CppUnitTestRunner.cpp:20
CppUnitTestRunner(void)
Definition: CppUnitTestRunner.cpp:6


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com