src/Common/CppUnitTests/CppUnitTestRunner.h

Go to the documentation of this file.
00001 #pragma once
00002 
00004 class CppUnitTestRunner
00005 {
00006 public:
00007         CppUnitTestRunner(void);
00008         ~CppUnitTestRunner(void);
00009 
00011         int Run(int argc, char* argv[]);
00013         int Run();
00014 
00016     std::string Help();
00018         const static std::string& XmlPath() { return s_XmlPath; }
00019 
00020 private:
00022     int Run(std::vector<CPPUNIT_NS::Test *>& tests);
00024         std::string Help(CPPUNIT_NS::Test *, int level = 0);
00026     static std::string s_XmlPath;
00028         std::string        m_TestSuiteName;
00029 };


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