Navigation
Unreal Engine C++ API Reference > Developer > FunctionalTesting
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- AFunctionalTest
- AScreenshotFunctionalTestBase
- AFunctionalUIScreenshotTest
- AScreenshotFunctionalTest
- AEditorScreenshotFunctionalTest
References
Module | FunctionalTesting |
Header | /Engine/Source/Developer/FunctionalTesting/Classes/ScreenshotFunctionalTestBase.h |
Include | #include "ScreenshotFunctionalTestBase.h" |
Syntax
class AScreenshotFunctionalTestBase : public AFunctionalTest
Remarks
Base class for screenshot functional test
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FString | Notes | |
![]() |
TObjectPtr< class UCameraComponent > | ScreenshotCamera | |
![]() |
FAutomationScreenshotOptions | ScreenshotOptions | |
![]() |
FIntPoint | ViewportRestoreSize |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
AScreenshotFunctionalTestBase
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | OnComparisonComplete
(
const FAutomationScreenshotCompareResults& CompareResults |
Do some logging and trigger OnScreenshotTakenAndCompared. |
![]() |
void | OnScreenShotCaptured
(
int32 InSizeX, |
Pass screenshot pixels and meta data to FAutomationTestFramework. |
![]() ![]() |
void | Call RestoreViewport and finish this test. | |
![]() |
void | Resize viewport to screenshot size (if possible) and set up screenshot environment (disable AA, etc.) | |
![]() ![]() |
void | Doesn't actually request in base class. It simply register OnScreenshotCaptured. | |
![]() |
void | Restore viewport size and original environment settings. |
Overridden from AFunctionalTest
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Handle screenshot delay. | |
![]() ![]() |
void | PrepareTest () |
Set player view target to screenshot camera and call PrepareForScreenshot. |
![]() ![]() |
void | StartTest () |
Register OnScreenshotTakenAndCompared and call RequestScreenshot. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |