1 #ifndef _beos_test_suite_h_
2 #define _beos_test_suite_h_
5 #include <cppunit/Test.h>
13 //! Groups together a set of tests for a given kit.
14 class CPPUNIT_API BTestSuite
: public CppUnit::Test
{
16 BTestSuite(std::string name
= "");
17 virtual ~BTestSuite();
19 virtual void run(CppUnit::TestResult
*result
);
20 virtual int countTestCases() const;
21 virtual std::string
getName() const;
22 virtual std::string
toString() const;
24 virtual void addTest(std::string name
, CppUnit::Test
*test
);
25 virtual void deleteContents();
27 const std::map
<std::string
, CppUnit::Test
*> &getTests() const;
30 std::map
<std::string
, CppUnit::Test
*> fTests
;
31 const std::string fName
;
34 BTestSuite(const BTestSuite
&other
);
35 BTestSuite
& operator=(const BTestSuite
&other
);
39 #endif // _beos_test_listener_h_