FAutomationTestBase::TestTrue

Logs an error if the specified Boolean value is not true.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Misc/AutomationTest.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/AutomationTest.cpp

Syntax

bool TestTrue
(
    const TCHAR * What,
    bool Value
)

Remarks

Logs an error if the specified Boolean value is not true.

Parameters

Parameter

Description

Description

Description text for the test.

Value

The value to test.

See Also