DeferredTestResult.h 547 B

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