UFunctionalTestingManager

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

FunctionalTesting

Header

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

Include

#include "FunctionalTestingManager.h"

Syntax

class UFunctionalTestingManager : public UBlueprintFunctionLibrary

Variables

Name Description

Public variable

TArray< TObject...

 

AllTests

Protected variable

bool

 

bFinished

Protected variable

bool

 

bInitialDelayApplied

Protected variable

bool

 

bIsRunning

Protected variable

bool

 

bIsTearingDown

Protected variable

bool

 

bLooped

Protected variable

uint32

 

CurrentIteration

Public variable

FFunctionalTest...

 

OnSetupTests

Public variable

FFunctionalTest...

 

OnTestsBegin

Public variable

FFunctionalTest...

 

OnTestsComplete

Protected variable

FString

 

StartingReproString

FString GatheredFailedTestsReproString;.

Protected variable

FFunctionalTest...

 

TestFinishedObserver

Protected variable

TArray< FString...

 

TestReproStrings

Public variable

TArray< TObject...

 

TestsLeft

Constructors

Name Description

Public function

UFunctionalTestingManager

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

void

 

AllTestsDone()

Protected function Static

UFunctionalT...

 

GetManager

(
    UObject* WorldContext
)

Protected function Virtual Const

UWorld *

 

GetWorld()

Public function Const

bool

 

IsFinished()

Public function Const

bool

 

IsLooped()

Public function Const

bool

 

IsRunning()

Protected function

void

 

NotifyTestDone

(
    AFunctionalTest* FTest
)

Protected function

void

 

OnTestDone

(
    AFunctionalTest* FTest
)

Protected function

void

 

OnWorldCleanedUp

(
    UWorld* World,
    bool bSessionEnded,
    bool bCleanupResources
)

Public function Static

bool

 

RunAllFunctionalTests

(
    UObject* WorldContextObject,
    bool bNewLog,
    bool bRunLooped,
    FString FailedTestsReproString
)

Triggers in sequence all functional tests found on the level.

Protected function

bool

 

RunFirstValidTest()

Public function

void

 

SetLooped

(
    const bool bNewLooped
)

Protected function

void

 

SetReproString

(
    FString ReproString
)

Protected function

void

 

SetUpTests()

Public function

void

 

TickMe

(
    float DeltaTime
)

Protected function

void

 

TriggerFirstValidTest()

Deprecated Functions

Name Description

Public function Static

bool

 

RunAllFunctionalTests

(
    UObject* WorldContextObject,
    bool bNewLog,
    bool bRunLooped,
    bool bWaitForNavigationBuildFinish,
    FString FailedTestsReproString
)

This function is deprecated and is no longer used. Please use the version without the bWaitForNavigationBuildFinish parameter.