FAutomationTestBase::AddErrorIfFalse

Adds an error message to this test if the condition is false

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h

Include

#include "Misc/AutomationTest.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/AutomationTest.cpp

Syntax

virtual void AddErrorIfFalse
(
    bool bCondition,
    const FString & InError,
    int32 StackOffset
)

Remarks

Adds an error message to this test if the condition is false

Parameters

Parameter

Description

bCondition

The condition to validate.

InError

Error message to add to this test

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