FAutomationTestBase::TestNotNull

Logs an error if the specified pointer is NULL.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/AutomationTest.h"

Syntax

template<typename ValueType>
bool TestNotNull
(
    const TCHAR * What,
    ValueType * Pointer
)

Remarks

Logs an error if the specified pointer is NULL.

Parameters

Parameter

Description

What

Description text for the test.

Pointer

The pointer to test.

See Also

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