Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
Include |
#include "ClientUnitTest.h" |
template<EUnitTestFlags CompileTimeUnitFlags, EMinClientFlags CompileTimeMinFlags>
void ValidateUnitFlags
(
EUnitTestFlags RuntimeUnitFlags,
EMinClientFlags RuntimeMinFlags
)
Internal base implementation and utility functions for client unit tests Validates, both at compile time (template params) or at runtime (function params), that the specified flags are valid.
When specifying the whole flag list in one go, do a compile time check using the template parameters. When modifying a runtime-written flag list, do a runtime check on the final flag variables using the function parameters.
Parameter |
Description |
---|---|
CompileTimeUnitFlags |
The compile-time unit test flag list to be checked |
CompileTimeMinFlags |
The compile-time minimal client flag list to be checked |
RuntimeUnitFlags |
The runtime unit test flag list to be checked |
RuntimeMinFlags |
The runtime minimal client flag list to be checked |