Navigation
API > API/Developer > API/Developer/FunctionalTesting
Base class for Functional test cases.
| Name | FFunctionalTestBase |
| Type | class |
| Header File | /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTestBase.h |
| Include Path | #include "FunctionalTestBase.h" |
Syntax
class FFunctionalTestBase : public FAutomationTestBase
Inheritance Hierarchy
- FAutomationTestBase → FFunctionalTestBase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFunctionalTestBase
(
const FString& InName, |
FunctionalTestBase.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ActiveTestName | FString | FunctionalTestBase.h | |
| bIsFunctionalTestRunning | bool | FunctionalTestBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ElevateLogWarningsToErrors() |
Determines if Warning logs should be treated as errors | FunctionalTestBase.h | |
void SetFunctionalTestComplete
(
const FString& InName |
Marks us as no longer running a test | FunctionalTestBase.h | |
void SetFunctionalTestRunning
(
const FString& InName |
Marks us as actively running a functional test | FunctionalTestBase.h | |
void SetLogErrorAndWarningHandling
(
TOptional< bool > InSuppressErrors, |
Specify how log errors & warnings should be handled during tests. | FunctionalTestBase.h | |
virtual bool ShouldCaptureLogCategory
(
const FName& Category |
Should the log category be captured and surfaced as part of the test. | FunctionalTestBase.h | |
virtual bool SuppressLogErrors() |
Determines if Error logs should be suppressed from test results | FunctionalTestBase.h | |
virtual bool SuppressLogs() |
If true logs will not be included in test events | FunctionalTestBase.h | |
virtual bool SuppressLogWarnings() |
Determines if Warning logs should be suppressed from test results | FunctionalTestBase.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetLogErrorAndWarningHandlingToDefault() |
FunctionalTestBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetRunningTestName() |
Returns the name of the running functional test. Empty if no test is running | FunctionalTestBase.h | |
static bool IsFunctionalTestRunning() |
Returns true if a functional test is running (does not include map setup) | FunctionalTestBase.h |