UUnitTask::TriggerFailure

Triggers a failure for the UnitTask and owning UnitTest

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

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

Include

#include "UnitTask.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UnitTask.cpp

Syntax

void TriggerFailure
(
    FString Reason
)

Remarks

Triggers a failure for the UnitTask and owning UnitTest

Parameters

Parameter

Description

Reason

The reason for the failure (output to log)

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