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 ...
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback