2022-11-29 18:00:19 +00:00
|
|
|
#include "TestFramework.h"
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#include <windows.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow)
|
2020-06-07 17:11:36 +00:00
|
|
|
int main()
|
|
|
|
{
|
2022-11-29 18:00:19 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
|
|
|
|
#endif
|
|
|
|
|
2022-11-30 18:28:50 +00:00
|
|
|
auto result = TestCaseRunner::getInstance().run();
|
2022-11-29 18:00:19 +00:00
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
CoUninitialize();
|
|
|
|
#endif
|
2020-06-07 17:11:36 +00:00
|
|
|
return 0;
|
|
|
|
}
|