18#ifndef _CPPUNITMINIFILEREPORTERINTERFACE_H_
19#define _CPPUNITMINIFILEREPORTERINTERFACE_H_
44#ifndef _STLP_USE_SAFE_STRING_FUNCTIONS
64 virtual void error(
const char *in_macroName,
const char *in_macro,
const char *in_file,
int in_line) {
69 fprintf(
_file,
"\n\n%s(%d) : %s(%s);", in_file, in_line, in_macroName, in_macro);
75 virtual void progress(
const char *in_className,
const char *in_shortTestName,
bool ignored,
bool explicitTest) {
84 fprintf(
_file,
"%s::%s", in_className, in_shortTestName);
86 const char *ignoredReason;
89 ignoredReason =
" EXPLICIT";
92 ignoredReason =
" IGNORED";
virtual void message(const char *msg)
FileReporter(FILE *stream, bool doMonitor=false)
virtual void error(const char *in_macroName, const char *in_macro, const char *in_file, int in_line)
FileReporter(const char *file, bool doMonitor=false)
virtual void printSummary()
virtual void progress(const char *in_className, const char *in_shortTestName, bool ignored, bool explicitTest)
FileReporter(bool doMonitor=false)
FileReporter & operator=(const FileReporter &)
FileReporter(const FileReporter &)
double elapsedMilliseconds() const
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl fflush(_Inout_opt_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
int CDECL fopen_s(FILE **pFile, const char *filename, const char *mode)