FFunctionalTestBase

Base class for Functional test cases.

Windows
MacOS
Linux

Inheritance Hierarchy

FAutomationTestBase

FFunctionalTestBase

References

Module

FunctionalTesting

Header

/Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTestBase.h

Include

#include "FunctionalTestBase.h"

Syntax

class FFunctionalTestBase : public FAutomationTestBase

Remarks

Base class for Functional test cases.

Variables

Name Description

Protected variable

bool

 

bIsFunctionalTestRunning

Protected variable

bool

 

bSuppressLogs

Protected variable

bool

 

bTreatLogErrorsAsErrors

Protected variable

bool

 

bTreatLogWarningsAsErrors

Constructors

Name Description

Public function

FFunctionalTestBase

(
    const FString& InName,
    const bool bInComplexTask
)

Functions

Name Description

Public function

bool

 

IsFunctionalTestRunning()

Returns true if a functional test is running (does not include map setup)

Public function

void

 

SetFunctionalTestRunning

(
    bool bIsRunning
)

Marks us as actively running a functional test

Public function

void

 

SetLogErrorAndWarningHandling

(
    TOptional< bool > LogErrorsAreError...,
    TOptional< bool > LogWarningsAreErr...
)

Specify how log errors & warnings should be handled during tests.

Protected function

void

 

SetLogErrorAndWarningHandlingToDefault()

Overridden from FAutomationTestBase

Name Description

Public function Virtual

bool

 

SuppressLogs()

If true logs will not be included in test events

Public function Virtual

bool

 

TreatLogErrorsAsErrors()

Determines if Error logs should be considered test errors

Public function Virtual

bool

 

TreatLogWarningsAsErrors()

Determines if Warning logs should be considered test errors

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