Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
WinUnitLogger.h
[詳解]
1/* -------------------------------------------------------------------------- *
2 WinUnit - Maria Blees (maria.blees@microsoft.com)
3 * -------------------------------------------------------------------------- */
4
9
10#ifndef WINUNIT_LOGGER_FUNCTION
11#define WINUNIT_LOGGER_FUNCTION(returntype, func) extern "C" __declspec(dllexport) returntype __cdecl func
12#endif
13
50
52
58WINUNIT_LOGGER_FUNCTION(void, Initialize)(
59 const wchar_t* initializationString
60 );
61
64WINUNIT_LOGGER_FUNCTION(void, OutputTestExecutableNamePreTest)(
65 const wchar_t* fullPath,
66 const wchar_t* nameOfExecutable
67);
68
71WINUNIT_LOGGER_FUNCTION(void, OutputTestExecutableNamePostTest)(
72 const wchar_t* fullPath,
73 const wchar_t* nameOfExecutable,
74 unsigned int succeeded,
75 unsigned int totalRun
76);
77
82WINUNIT_LOGGER_FUNCTION(void, OutputTestNamePreTest)(
83 const char* testName
84);
85
91WINUNIT_LOGGER_FUNCTION(void, OutputTestNamePostTest)(
92 const char* testName,
93 bool passed
94);
95
100WINUNIT_LOGGER_FUNCTION(void, OutputTrace)(
101 const wchar_t* message
102);
103
108WINUNIT_LOGGER_FUNCTION(void, OutputTestError)(
109 const wchar_t* message
110);
111
116WINUNIT_LOGGER_FUNCTION(void, OutputProgramErrorLine)(
117 const wchar_t* message
118 );
119
123WINUNIT_LOGGER_FUNCTION(void, OutputFinalResults)(
124 unsigned int succeeded,
125 unsigned int totalRun
126);
127
132WINUNIT_LOGGER_FUNCTION(void, SetVerbosity)(
133 unsigned int verbosity
134);
135
#define WINUNIT_LOGGER_FUNCTION(returntype, func)
Definition WinUnitLogger.h:11
bool passed
< Name of test that was just run.
Definition WinUnitLogger.h:94
const wchar_t unsigned int unsigned int totalRun
< Number of tests run.
Definition WinUnitLogger.h:76
const wchar_t unsigned int succeeded
Number of tests succeeded.
Definition WinUnitLogger.h:74
const wchar_t * nameOfExecutable
< Full path to the executable whose tests are to be run.
Definition WinUnitLogger.h:67