EUnitTaskFlags

Determine if some UnitTask's will need to remain around persistently - this is quite possible, with the MCP auth stuff, and needing a place to store/access the auth info

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

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

Include

#include "UnitTask.h"

Syntax

enum EUnitTaskFlags
{
    None                  = 0x00,
    RequireServer         = 0x01,
    RequireMinClient      = 0x02,
    RequirementsMask      = RequireServer | RequireMinClient,
    BlockUnitTest         = 0x04,
    BlockMinClient        = 0x08,
    BlockMask             = BlockUnitTest | BlockMinClient,
    AlterMinClient        = 0x10,
    PriorityMask_One      = None,
    PriorityMask_Two      = BlockUnitTest,
    PriorityMask_Three    = RequireServer,
    PriorityMask_Four     = BlockMinClient,
    PriorityMask_Five     = AlterMinClient,
    PriorityMask_Six      = RequireMinClient,
    PriorityMask_MAX      = PriorityMask_Six,
}

Values

Name

Description

None

RequireServer

Requirement flags

RequireMinClient

RequirementsMask

BlockUnitTest

Flags for blocking unit test execution

BlockMinClient

BlockMask

AlterMinClient

Flags for altering stages of unit test execution

PriorityMask_One

Masks for the sequence UnitTask's should run, with above flags (done like this, in case future flags share same priority)

PriorityMask_Two

PriorityMask_Three

PriorityMask_Four

PriorityMask_Five

PriorityMask_Six

PriorityMask_MAX

Remarks

Determine if some UnitTask's will need to remain around persistently - this is quite possible, with the MCP auth stuff, and needing a place to store/access the auth info

Consider support for adding new log tabs, for UnitTask's - perhaps only if they are configured to do this, or perhaps as an FUnitLogInterface ability Enums Flags for specifying the required conditions for executing a UnitTask, and what stages of the unit test to block until completion

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