#pragma once #include "filesystem_def.h" #include #include #include struct LINEDIFF { std::string expected; std::string result; }; struct TESTRESULT { typedef std::vector LineDiffArray; bool succeeded = false; LineDiffArray lineDiffs; }; class CTestReportWriter { public: virtual ~CTestReportWriter() { } virtual void ReportTestEntry(const std::string& name, const TESTRESULT&) = 0; virtual void Write(const fs::path& reportPath) = 0; }; typedef std::shared_ptr TestReportWriterPtr;