FAutomationTestBase::TestValid

Logs an error if the given shared pointer is not valid.

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 TestValid
(
    const TCHAR * Description,
    const TSharedPtr< ValueType > & SharedPointer
)

Remarks

Logs an error if the given shared pointer is not valid.

Parameters

Parameter

Description

Description

Description text for the test.

SharedPointer

The shared pointer to test.

See Also