Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FAutomationTestExecutionInfo Class Reference

#include <AutomationTest.h>

+ Collaboration diagram for FAutomationTestExecutionInfo:

Public Member Functions

 FAutomationTestExecutionInfo ()
 
 ~FAutomationTestExecutionInfo ()
 
void Clear ()
 
int32 RemoveAllEvents (EAutomationEventType EventType)
 
int32 RemoveAllEvents (TFunctionRef< bool(FAutomationEvent &)> FilterPredicate)
 
const TArray< FAutomationExecutionEntry > & GetEntries () const
 
void AddEvent (const FAutomationEvent &Event, int StackOffset=0, bool bCaptureStack=true)
 
void AddWarning (const FString &WarningMessage)
 
void AddError (const FString &ErrorMessage)
 
int32 GetWarningTotal () const
 
int32 GetErrorTotal () const
 
const FStringGetContext () const
 
void PushContext (const FString &Context)
 
void PopContext ()
 

Public Attributes

bool bSuccessful
 
TArray< FStringAnalyticsItems
 
TArray< FAutomationTelemetryDataTelemetryItems
 
FString TelemetryStorage
 
double Duration
 

Private Attributes

TArray< FAutomationExecutionEntryEntries
 
int32 Errors
 
int32 Warnings
 
TArray< FStringContextStack
 

Detailed Description

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

Definition at line 185 of file AutomationTest.h.

Constructor & Destructor Documentation

◆ FAutomationTestExecutionInfo()

FAutomationTestExecutionInfo::FAutomationTestExecutionInfo ( )
inline

Constructor

Definition at line 189 of file AutomationTest.h.

◆ ~FAutomationTestExecutionInfo()

FAutomationTestExecutionInfo::~FAutomationTestExecutionInfo ( )
inline

Destructor

Definition at line 197 of file AutomationTest.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ AddError()

void FAutomationTestExecutionInfo::AddError ( const FString & ErrorMessage)

◆ AddEvent()

void FAutomationTestExecutionInfo::AddEvent ( const FAutomationEvent & Event,
int StackOffset = 0,
bool bCaptureStack = true )

◆ AddWarning()

void FAutomationTestExecutionInfo::AddWarning ( const FString & WarningMessage)

◆ Clear()

void FAutomationTestExecutionInfo::Clear ( )

Helper method to clear out the results from a previous execution

+ Here is the caller graph for this function:

◆ GetContext()

const FString & FAutomationTestExecutionInfo::GetContext ( ) const
inline

Definition at line 220 of file AutomationTest.h.

◆ GetEntries()

const TArray< FAutomationExecutionEntry > & FAutomationTestExecutionInfo::GetEntries ( ) const
inline

Any errors that occurred during execution

Definition at line 210 of file AutomationTest.h.

◆ GetErrorTotal()

int32 FAutomationTestExecutionInfo::GetErrorTotal ( ) const
inline

Definition at line 218 of file AutomationTest.h.

◆ GetWarningTotal()

int32 FAutomationTestExecutionInfo::GetWarningTotal ( ) const
inline

Definition at line 217 of file AutomationTest.h.

◆ PopContext()

void FAutomationTestExecutionInfo::PopContext ( )
inline

Definition at line 231 of file AutomationTest.h.

◆ PushContext()

void FAutomationTestExecutionInfo::PushContext ( const FString & Context)
inline

Definition at line 226 of file AutomationTest.h.

◆ RemoveAllEvents() [1/2]

int32 FAutomationTestExecutionInfo::RemoveAllEvents ( EAutomationEventType EventType)

◆ RemoveAllEvents() [2/2]

int32 FAutomationTestExecutionInfo::RemoveAllEvents ( TFunctionRef< bool(FAutomationEvent &)> FilterPredicate)

Member Data Documentation

◆ AnalyticsItems

TArray<FString> FAutomationTestExecutionInfo::AnalyticsItems

Any analytics items that occurred during execution

Definition at line 245 of file AutomationTest.h.

◆ bSuccessful

bool FAutomationTestExecutionInfo::bSuccessful

Whether the automation test completed successfully or not

Definition at line 242 of file AutomationTest.h.

◆ ContextStack

TArray<FString> FAutomationTestExecutionInfo::ContextStack
private

Definition at line 263 of file AutomationTest.h.

◆ Duration

double FAutomationTestExecutionInfo::Duration

Time to complete the task

Definition at line 254 of file AutomationTest.h.

◆ Entries

TArray<FAutomationExecutionEntry> FAutomationTestExecutionInfo::Entries
private

Any errors that occurred during execution

Definition at line 258 of file AutomationTest.h.

◆ Errors

int32 FAutomationTestExecutionInfo::Errors
private

Definition at line 260 of file AutomationTest.h.

◆ TelemetryItems

TArray<FAutomationTelemetryData> FAutomationTestExecutionInfo::TelemetryItems

Telemetry items that occurred during execution

Definition at line 248 of file AutomationTest.h.

◆ TelemetryStorage

FString FAutomationTestExecutionInfo::TelemetryStorage

Telemetry storage name set by the test

Definition at line 251 of file AutomationTest.h.

◆ Warnings

int32 FAutomationTestExecutionInfo::Warnings
private

Definition at line 261 of file AutomationTest.h.


The documentation for this class was generated from the following file: