AFunctionalTest::AssertIsValid

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

Unreal Engine C++ API Reference > Developer > FunctionalTesting > AFunctionalTest

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h
Include #include "FunctionalTest.h"
Source /Engine/Source/Developer/FunctionalTesting/Private/FunctionalTest.cpp
virtual bool AssertIsValid
(
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * Object,
    const [FString](API\Runtime\Core\Containers\FString) & Message,
    const [UObject](API\Runtime\CoreUObject\UObject\UObject) * ContextObject
)

Remarks

Assert that a UObject is valid

Parameters

Name Description
Message The message to display if the object is invalid ("Invalid object: 'Message' for context ''")

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library