/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/UnitTests/TestFramework/Utilities/TestSetup.h
27 строк
823 B
Ingrater
Implement parameter coding guidelines in clang-tidy (#808)
18 фев 2023, 13:18
Не верифицирован
18 фев 2023, 13:18
3c98d47
Код
Авторство
О чём код?
#pragma once #include <TestFramework/TestFrameworkDLL.h> class ezTestFramework; /// \brief A collection of static helper functions to setup the test framework. class EZ_TEST_DLL ezTestSetup { public: /// \brief Creates and returns a test framework with the given name. static ezTestFramework* InitTestFramework(const char* szTestName, const char* szNiceTestName, int iArgc, const char** pArgv); /// \brief Runs tests and returns number of errors. static ezTestAppRun RunTests(); static ezInt32 GetFailedTestCount(); /// \brief Deletes the test framework and outputs final test output. /// /// If bSilent is true, the function will not print anything to the console (debug info) static void DeInitTestFramework(bool bSilent = false); private: static int s_iArgc; static const char** s_pArgv; };