/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/UnitTests/TestFramework/Utilities/TestOrder.h
19 строк
888 B
Ingrater
Implement parameter coding guidelines in clang-tidy (#808)
18 фев 2023, 13:18
Не верифицирован
18 фев 2023, 13:18
3c98d47
Код
Авторство
О чём код?
#pragma once #include <TestFramework/Framework/TestFramework.h> /// Sorts all tests and subtests alphabetically void SortTestsAlphabetically(std::deque<ezTestEntry>& inout_tests); /// Writes the given test order to a simple config file void SaveTestOrder(const char* szFile, const std::deque<ezTestEntry>& allTests); /// Loads the order of tests from a file and sorts the existing tests in the array accordingly. The file and the array do not need to /// contain the same set of tests, the array is only re-arranged, nothing is added or removed from it. void LoadTestOrder(const char* szFile, std::deque<ezTestEntry>& ref_allTests); /// Writes the given test settings to a simple config file void SaveTestSettings(const char* szFile, TestSettings& ref_testSettings); /// Loads the test settings from a file void LoadTestSettings(const char* szFile, TestSettings& ref_testSettings);