Files
ptr/UnitTest++/src/DeferredTestResult.h
T
2011-01-24 14:16:14 -08:00

30 lines
547 B
C++

#ifndef UNITTEST_DEFERREDTESTRESULT_H
#define UNITTEST_DEFERREDTESTRESULT_H
#include <string>
#include <vector>
namespace UnitTest
{
struct DeferredTestResult
{
DeferredTestResult();
DeferredTestResult(char const* suite, char const* test);
std::string suiteName;
std::string testName;
std::string failureFile;
typedef std::pair< int, std::string > Failure;
typedef std::vector< Failure > FailureVec;
FailureVec failures;
float timeElapsed;
bool failed;
};
}
#endif //UNITTEST_DEFERREDTESTRESULT_H