FAutomationTestExecutionInfo

Simple class to store the results of the execution of a automation test

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/AutomationTest.h"

Syntax

class FAutomationTestExecutionInfo

Remarks

Simple class to store the results of the execution of a automation test

Variables

Name Description

Public variable

TArray< FString...

 

AnalyticsItems

Any analytics items that occurred during execution

Public variable

bool

 

bSuccessful

Whether the automation test completed successfully or not

Public variable

double

 

Duration

Time to complete the task

Constructors

Name Description

Public function

FAutomationTestExecutionInfo()

Constructor

Destructors

Name Description

Public function

~FAutomationTestExecutionInfo()

Destructor

Functions

Name Description

Public function

void

 

AddError

(
    const FString& ErrorMessage
)

Public function

void

 

AddEvent

(
    const FAutomationEvent& Event,
    int StackOffset
)

Public function

void

 

AddWarning

(
    const FString& WarningMessage
)

Public function

void

 

Clear()

Helper method to clear out the results from a previous execution

Public function Const

const FStrin...

 

GetContext()

Public function Const

const TArray...

 

GetEntries()

Any errors that occurred during execution

Public function Const

int32

 

GetErrorTotal()

Public function Const

int32

 

GetWarningTotal()

Public function

void

 

PopContext()

Public function

void

 

PushContext

(
    const FString& Context
)

Public function

int32

 

RemoveAllEvents

(
    EAutomationEventType EventType
)

Public function

int32

 

RemoveAllEvents

(
    TFunctionRef< bool...
)

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