FAutomationTestBase::GetExpectedErrors

Populate the provided expected errors object with the expected errors contained within the test.

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

void GetExpectedErrors
(
    TArray< FAutomationExpectedError > & OutInfo
) const

Remarks

Populate the provided expected errors object with the expected errors contained within the test. Not particularly efficient, but providing direct access to the test's private execution errors list could result in errors.

Parameters

Parameter

Description

OutInfo

Array of Expected Errors to be populated with the same data contained within this test's expected errors list