AFunctionalTest::AssertTrue

Assert that a boolean value is true.

References

Module

FunctionalTesting

Header

/Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h

Include

#include "FunctionalTest.h"

Source

/Engine/Source/Developer/FunctionalTesting/Private/FunctionalTest.cpp

Syntax

virtual bool AssertTrue
(
    bool Condition,
    const FString & Message,
    const UObject * ContextObject
)

Remarks

Assert that a boolean value is true.

Parameters

Parameter

Description

Message

The message to display if the assert fails ("Assertion Failed: 'Message' for context ''")

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