mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-19 13:33:00 +01:00
33 lines
599 B
C++
33 lines
599 B
C++
#ifndef UNITTEST_DEFERREDTESTRESULT_H
|
|
#define UNITTEST_DEFERREDTESTRESULT_H
|
|
|
|
#include "Config.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace UnitTest
|
|
{
|
|
|
|
struct DeferredTestResult
|
|
{
|
|
DeferredTestResult();
|
|
DeferredTestResult(char const* suite, char const* test);
|
|
~DeferredTestResult();
|
|
|
|
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
|