#include "TestFramework.h" #include "CommandLineArgs.h" #include "ConsoleLogger.h" #ifdef _WIN32 #include #endif //int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow) int main(int argc, char *argv[]) { #ifdef _WIN32 CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); #endif CommandLineArgs args; args.process(argc, argv); ConsoleLogger::logLine("Starting test run."); TestCaseRunner::getInstance().run(args.getUserArgs()); ConsoleLogger::logLine("Finished test run."); #ifdef _WIN32 CoUninitialize(); #endif return 0; }