Navigation
Unreal Engine C++ API Reference > Developer > FunctionalTesting
Inheritance Hierarchy
References
Module | FunctionalTesting |
Header | /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTestBase.h |
Include | #include "FunctionalTestBase.h" |
Syntax
class FFunctionalTestBase : public [FAutomationTestBase](API\Runtime\Core\Misc\FAutomationTestBase)
Remarks
Base class for Functional test cases.
Variables
Type | Name | Description |
---|---|---|
bool | bElevateLogWarningsToErrors | |
bool | bSuppressLogErrors | |
bool | bSuppressLogs | |
bool | bSuppressLogWarnings |
Constructors
Type | Name | Description |
---|---|---|
FFunctionalTestBase ( const FString& InName, const bool bInComplexTask ) |
Functions
Type | Name | Description |
---|---|---|
FString | GetRunningTestName () | Returns the name of the running functional test. Empty if no test is running |
bool | IsFunctionalTestRunning () | Returns true if a functional test is running (does not include map setup) |
void | SetFunctionalTestComplete ( const FString& InName ) | Marks us as no longer running a test |
void | SetFunctionalTestRunning ( const FString& InName ) | Marks us as actively running a functional test |
void | SetLogErrorAndWarningHandling ( TOptional< bool > InSuppressErrors, TOptional< bool > InSuppressWarning..., TOptional< bool > InWarningsAreErro... ) | Specify how log errors & warnings should be handled during tests. |
void | SetLogErrorAndWarningHandlingToDefault () |
Overridden from FAutomationTestBase
Type | Name | Description |
---|---|---|
bool | ElevateLogWarningsToErrors () | Determines if Warning logs should be treated as errors |
bool | SuppressLogErrors () | Determines if Error logs should be suppressed from test results |
bool | SuppressLogs () | If true logs will not be included in test events |
bool | SuppressLogWarnings () | Determines if Warning logs should be suppressed from test results |
Constants
Name | Description |
---|---|
ActiveTestName | |
bIsFunctionalTestRunning |