Lhaz
マクロ定義 | 関数 | 変数
WinUnitLogger.h ファイル

[ソースコード]

マクロ定義

#define WINUNIT_LOGGER_FUNCTION(returntype, func)   extern "C" __declspec(dllexport) returntype __cdecl func
 

関数

 WINUNIT_LOGGER_FUNCTION (void, Initialize)(const wchar_t *initializationString)
 < String for initializing this logger. [詳解]
 
 WINUNIT_LOGGER_FUNCTION (void, OutputTestExecutableNamePreTest)(const wchar_t *fullPath
 
 WINUNIT_LOGGER_FUNCTION (void, OutputTestExecutableNamePostTest)(const wchar_t *fullPath
 
 WINUNIT_LOGGER_FUNCTION (void, OutputTestNamePreTest)(const char *testName)
 < Name of test about to be run. [詳解]
 
 WINUNIT_LOGGER_FUNCTION (void, OutputTestNamePostTest)(const char *testName
 
 WINUNIT_LOGGER_FUNCTION (void, OutputTrace)(const wchar_t *message)
 < Informational message to be output. [詳解]
 
 WINUNIT_LOGGER_FUNCTION (void, OutputTestError)(const wchar_t *message)
 < Message indicating details about failure. [詳解]
 
 WINUNIT_LOGGER_FUNCTION (void, OutputProgramErrorLine)(const wchar_t *message)
 
 WINUNIT_LOGGER_FUNCTION (void, OutputFinalResults)(unsigned int succeeded
 
 WINUNIT_LOGGER_FUNCTION (void, SetVerbosity)(unsigned int verbosity)
 

変数

const wchar_t * nameOfExecutable
 < Full path to the executable whose tests are to be run. [詳解]
 
const wchar_t unsigned int succeeded
 Number of tests succeeded. [詳解]
 
const wchar_t unsigned int unsigned int totalRun
 < Number of tests run. [詳解]
 
bool passed
 < Name of test that was just run. [詳解]
 

詳解

This file contains function prototypes for functions to be implemented by a custom logger DLL for WinUnit.

マクロ定義詳解

#define WINUNIT_LOGGER_FUNCTION (   returntype,
  func 
)    extern "C" __declspec(dllexport) returntype __cdecl func