#include <file_reporter.h>
Definition at line 28 of file file_reporter.h.
◆ FileReporter() [1/4]
◆ FileReporter() [2/4]
FileReporter::FileReporter |
( |
bool |
doMonitor = false | ) |
|
|
inlineexplicit |
◆ FileReporter() [3/4]
Definition at line 40 of file file_reporter.h.
40 :
43 {
44#ifndef _STLP_USE_SAFE_STRING_FUNCTIONS
46#else
48#endif
49 }
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
int CDECL fopen_s(FILE **pFile, const char *filename, const char *mode)
◆ FileReporter() [4/4]
FileReporter::FileReporter |
( |
FILE * |
stream, |
|
|
bool |
doMonitor = false |
|
) |
| |
|
inlineexplicit |
◆ ~FileReporter()
virtual FileReporter::~FileReporter |
( |
| ) |
|
|
inlinevirtual |
Definition at line 57 of file file_reporter.h.
57 {
60 else
62 }
_Check_return_opt_ _CRTIMP int __cdecl fflush(_Inout_opt_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
◆ end()
virtual void FileReporter::end |
( |
| ) |
|
|
inlinevirtual |
Definition at line 98 of file file_reporter.h.
98 {
103 }
106 }
108 }
double elapsedMilliseconds() const
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
◆ error()
Definition at line 64 of file file_reporter.h.
64 {
65
66
67
69 fprintf(
_file,
"\n\n%s(%d) : %s(%s);", in_file, in_line, in_macroName, in_macro);
70 }
◆ message()
◆ operator=()
◆ printSummary()
virtual void FileReporter::printSummary |
( |
| ) |
|
|
inlinevirtual |
Definition at line 110 of file file_reporter.h.
110 {
113 }
114 else {
116 }
117
120 }
121
124 }
125
128 }
129
131 }
◆ progress()
Definition at line 75 of file file_reporter.h.
75 {
79 }
84 fprintf(
_file,
"%s::%s", in_className, in_shortTestName);
86 const char *ignoredReason;
87 if (explicitTest) {
89 ignoredReason = " EXPLICIT";
90 }
91 else
92 ignoredReason = " IGNORED";
93
95 }
96 }
◆ _file
FILE* FileReporter::_file |
|
private |
◆ _myStream
bool FileReporter::_myStream |
|
private |
◆ m_doMonitor
bool FileReporter::m_doMonitor |
|
private |
◆ m_failed
bool FileReporter::m_failed |
|
private |
◆ m_globalTimer
Timer FileReporter::m_globalTimer |
|
private |
◆ m_numErrors
int FileReporter::m_numErrors |
|
private |
◆ m_numExplicit
int FileReporter::m_numExplicit |
|
private |
◆ m_numIgnored
int FileReporter::m_numIgnored |
|
private |
◆ m_numTests
int FileReporter::m_numTests |
|
private |
◆ m_testTimer
Timer FileReporter::m_testTimer |
|
private |
The documentation for this class was generated from the following file: