UClientUnitTest::SetFlags

Sets and validates at compile time, that the specified flags are valid.

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h

Include

#include "ClientUnitTest.h"

Syntax

template<EUnitTestFlags CompileTimeUnitFlags, EMinClientFlags CompileTimeMinFlags>
void SetFlags()

Remarks

Sets and validates at compile time, that the specified flags are valid.

If your unit test subclasses another, it will have to manually change UnitTestFlags/MinClientFlags at runtime.

Parameters

Parameter

Description

CompileTimeUnitFlags

The compile-time flag list to be checked

CompileTimeMinFlags

The compile-time flag list to be checked

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss