FAutomationExpectedError

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/AutomationTest.h"

Syntax

struct FAutomationExpectedError

Variables

Name Description

Public variable

int32

 

ActualNumberOfOccurrences

Public variable

EAutomationExpe...

 

CompareType

Type of comparison to perform on error message using ErrorPattern.

Public variable

FRegexPattern

 

ErrorPattern

Regular expression pattern for ErrorPatternString.

Public variable

FString

 

ErrorPatternString

Original regular expression pattern string matching expected error message.

Public variable

int32

 

ExpectedNumberOfOccurrences

Number of occurrences expected for error.

Constructors

Name Description

Public function

FAutomationExpectedError

(
    FString& InErrorPattern,
    int32 InExpectedNumberOfOccurrences
)

Public function

FAutomationExpectedError

(
    FString& InErrorPattern,
    EAutomationExpectedErrorFlags::Matc...,
    int32 InExpectedNumberOfOccurrences
)

Constructor

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss