FAutomationTestBase::TestInvalid

Logs an error if the given shared pointer is 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 TestInvalid
(
    const TCHAR * Description,
    const TSharedPtr< ValueType > & SharedPointer
)

Remarks

Logs an error if the given shared pointer is valid.

Parameters

Parameter

Description

Description

Description text for the test.

SharedPointer

The shared pointer to test.

See Also