* 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:
@@ -9,30 +9,30 @@
|
||||
//! Base class for single threaded unit tests
|
||||
class CPPUNIT_API BTestCase : public CppUnit::TestCase {
|
||||
public:
|
||||
BTestCase(string Name = "");
|
||||
|
||||
BTestCase(std::string Name = "");
|
||||
|
||||
//! Displays the next sub test progress indicator (i.e. [0][1][2][3]...).
|
||||
virtual void NextSubTest();
|
||||
|
||||
|
||||
//! Starts a new sub test block (i.e. prints a newline :-)
|
||||
virtual void NextSubTestBlock();
|
||||
|
||||
|
||||
/*! \brief Prints to standard out just like printf, except shell verbosity
|
||||
settings are honored.
|
||||
*/
|
||||
virtual void Outputf(const char *str, ...);
|
||||
|
||||
//! Saves the location of the current working directory.
|
||||
|
||||
//! Saves the location of the current working directory.
|
||||
void SaveCWD();
|
||||
|
||||
|
||||
virtual void tearDown();
|
||||
|
||||
//! Restores the current working directory to last directory saved by a call to SaveCWD().
|
||||
|
||||
//! Restores the current working directory to last directory saved by a call to SaveCWD().
|
||||
void RestoreCWD(const char *alternate = NULL);
|
||||
protected:
|
||||
bool fValidCWD;
|
||||
char fCurrentWorkingDir[B_PATH_NAME_LENGTH+1];
|
||||
int32 fSubTestNum;
|
||||
char fCurrentWorkingDir[B_PATH_NAME_LENGTH+1];
|
||||
int32 fSubTestNum;
|
||||
};
|
||||
|
||||
#endif // _beos_test_case_h_
|
||||
|
||||
Reference in New Issue
Block a user