DeferredTestResult.h 599 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef UNITTEST_DEFERREDTESTRESULT_H
  2. #define UNITTEST_DEFERREDTESTRESULT_H
  3. #include "Config.h"
  4. #include <string>
  5. #include <vector>
  6. namespace UnitTest
  7. {
  8. struct DeferredTestResult
  9. {
  10. DeferredTestResult();
  11. DeferredTestResult(char const* suite, char const* test);
  12. ~DeferredTestResult();
  13. std::string suiteName;
  14. std::string testName;
  15. std::string failureFile;
  16. typedef std::pair< int, std::string > Failure;
  17. typedef std::vector< Failure > FailureVec;
  18. FailureVec failures;
  19. float timeElapsed;
  20. bool failed;
  21. };
  22. }
  23. #endif //UNITTEST_DEFERREDTESTRESULT_H