* fix gcc4 build of cppunit library by explicitly spelling out std:: in
the headers and importing the required classes in the implementation files * automatic whitespace cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30586 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,31 +6,33 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class CppUnit::TestResult;
|
||||
namespace CppUnit {
|
||||
class TestResult;
|
||||
}
|
||||
|
||||
//! Groups together a set of tests for a given kit.
|
||||
class CPPUNIT_API BTestSuite : public CppUnit::Test {
|
||||
public:
|
||||
BTestSuite( string name = "" );
|
||||
BTestSuite(std::string name = "");
|
||||
virtual ~BTestSuite();
|
||||
|
||||
virtual void run( CppUnit::TestResult *result );
|
||||
virtual void run(CppUnit::TestResult *result);
|
||||
virtual int countTestCases() const;
|
||||
virtual string getName() const;
|
||||
virtual string toString() const;
|
||||
virtual std::string getName() const;
|
||||
virtual std::string toString() const;
|
||||
|
||||
virtual void addTest(string name, CppUnit::Test *test);
|
||||
virtual void addTest(std::string name, CppUnit::Test *test);
|
||||
virtual void deleteContents();
|
||||
|
||||
const map<string, CppUnit::Test*> &getTests() const;
|
||||
const std::map<std::string, CppUnit::Test*> &getTests() const;
|
||||
|
||||
protected:
|
||||
map<string, CppUnit::Test*> fTests;
|
||||
const string fName;
|
||||
std::map<std::string, CppUnit::Test*> fTests;
|
||||
const std::string fName;
|
||||
|
||||
private:
|
||||
BTestSuite(const BTestSuite &other);
|
||||
BTestSuite& operator=(const BTestSuite &other);
|
||||
BTestSuite& operator=(const BTestSuite &other);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user