AFunctionalTest::AssertIsValid

Assert that a [UObject](API\Runtime\CoreUObject\UObject\UObject) is valid

Windows
MacOS
Linux

References

Module

FunctionalTesting

Header

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

Include

#include "FunctionalTest.h"

Source

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

Syntax

bool AssertIsValid
(
    UObject * Object,
    FString Message,
    const UObject * ContextObject
)

Remarks

Assert that a UObject is valid

Parameters

Parameter

Description

Message

The message to display if the object is invalid ("Invalid object: '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
Dismiss