NetBurner 3.1
TeamCityTestOutput.h
1 #ifndef D_TeamCityTestOutput_h
2 #define D_TeamCityTestOutput_h
3 
4 #include "TestOutput.h"
5 #include "SimpleString.h"
6 
7 class TeamCityTestOutput: public ConsoleTestOutput
8 {
9 public:
10  TeamCityTestOutput(void);
11  virtual ~TeamCityTestOutput(void);
12 
13  virtual void printCurrentTestStarted(const UtestShell& test) _override;
14  virtual void printCurrentTestEnded(const TestResult& res) _override;
15  virtual void printCurrentGroupStarted(const UtestShell& test) _override;
16  virtual void printCurrentGroupEnded(const TestResult& res) _override;
17 
18  virtual void printFailure(const TestFailure& failure) _override;
19 
20 protected:
21 
22 private:
23  void printEscaped(const char* s);
24  const UtestShell *currtest_;
25  SimpleString currGroup_;
26 };
27 
28 #endif