?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1. #ifndef UNITTEST_TESTREPORTER_H
  2. #define UNITTEST_TESTREPORTER_H
  3.  
  4. #include "HelperMacros.h"
  5.  
  6. namespace UnitTest {
  7.  
  8.    class TestDetails;
  9.  
  10.    class UNITTEST_LINKAGE TestReporter
  11.    {
  12.    public:
  13.       virtual ~TestReporter();
  14.  
  15.       virtual void ReportTestStart(TestDetails const& test) = 0;
  16.       virtual void ReportFailure(TestDetails const& test, char const* failure) = 0;
  17.       virtual void ReportTestFinish(TestDetails const& test, float secondsElapsed) = 0;
  18.       virtual void ReportSummary(int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed) = 0;
  19.    };
  20.  
  21. }
  22. #endif
  23.