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

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