/extlibs/UnitTest++/source/DeferredTestResult.h

https://bitbucket.org/hugoruscitti/pilascpp · C++ Header · 29 lines · 21 code · 8 blank · 0 comment · 0 complexity · 7982a46ba3cfb24682d319a57295f485 MD5 · raw file

  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