mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
Add -ignore <file> option to get rid of DOS script issues.
Rollback to previous rendering.
This commit is contained in:
@@ -50,7 +50,7 @@ public:
|
||||
void addTest(const std::string& name, Test* test);
|
||||
|
||||
protected:
|
||||
bool run(Test* test);
|
||||
bool run(Test* test, const std::string& ignore);
|
||||
void printBanner();
|
||||
void print(const std::string& name, Test* pTest, int indent);
|
||||
Test* find(const std::string& name, Test* pTest, const std::string& testName);
|
||||
|
||||
@@ -20,8 +20,10 @@ class CppUnit_API TextTestResult: public TestResult
|
||||
{
|
||||
public:
|
||||
TextTestResult();
|
||||
TextTestResult(const std::string& ignore);
|
||||
TextTestResult(std::ostream& ostr);
|
||||
|
||||
TextTestResult(std::ostream& ostr, const std::string& ignore);
|
||||
|
||||
virtual void addError(Test* test, CppUnitException* e);
|
||||
virtual void addFailure(Test* test, CppUnitException* e);
|
||||
virtual void startTest(Test* test);
|
||||
@@ -33,6 +35,7 @@ public:
|
||||
protected:
|
||||
std::string shortName(const std::string& testName);
|
||||
void setup();
|
||||
void ignoring(const std::string ignore);
|
||||
|
||||
private:
|
||||
std::ostream& _ostr;
|
||||
|
||||
Reference in New Issue
Block a user