FAutomationTestBase::TestNotNull

Logs an error if the specified pointer is NULL.

Choose your operating system:

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