feat: finish exception helper.
- finish exception helper. - switch to LOCALAPPDATA/CrashDumps as output directory. - add testbench for exception helper. - add lost testbench for GetLocalAppData in WinFctHelper. - link with DbgHelp.lib on Windows in CMake.
This commit is contained in:
@ -237,6 +237,10 @@ namespace YYCCTestbench {
|
||||
std::string test_module_name;
|
||||
Assert(YYCC::WinFctHelper::GetModuleFileName(YYCC::WinFctHelper::GetCurrentModule(), test_module_name), "YYCC::WinFctHelper::GetModuleFileName");
|
||||
Console::FormatLine("Current Module File Name: %s", test_module_name.c_str());
|
||||
|
||||
std::string test_localappdata_path;
|
||||
Assert(YYCC::WinFctHelper::GetLocalAppData(test_localappdata_path), "YYCC::WinFctHelper::GetLocalAppData");
|
||||
Console::FormatLine("Local AppData: %s", test_localappdata_path.c_str());
|
||||
}
|
||||
|
||||
static void FsPathPatch() {
|
||||
@ -266,7 +270,7 @@ int main(int argc, char** args) {
|
||||
//YYCCTestbench::StringTestbench();
|
||||
//YYCCTestbench::ParserTestbench();
|
||||
//YYCCTestbench::DialogTestbench();
|
||||
//YYCCTestbench::ExceptionTestbench();
|
||||
YYCCTestbench::ExceptionTestbench();
|
||||
//YYCCTestbench::WinFctTestbench();
|
||||
//YYCCTestbench::FsPathPatch();
|
||||
}
|
||||
|
Reference in New Issue
Block a user