#ifndef _beos_test_suite_h_ #define _beos_test_suite_h_ #include #include #include #include namespace CppUnit { class TestResult; } //! Groups together a set of tests for a given kit. class CPPUNIT_API BTestSuite : public CppUnit::Test { public: BTestSuite(std::string name = ""); virtual ~BTestSuite(); virtual void run(CppUnit::TestResult *result); virtual int countTestCases() const; virtual std::string getName() const; virtual std::string toString() const; virtual void addTest(std::string name, CppUnit::Test *test); virtual void deleteContents(); const std::map &getTests() const; protected: std::map fTests; const std::string fName; private: BTestSuite(const BTestSuite &other); BTestSuite& operator=(const BTestSuite &other); }; #endif // _beos_test_listener_h_