Module |
|
Header |
/Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h |
Include |
#include "FunctionalTest.h" |
class AFunctionalTest : public AActor
Name | Description | ||
---|---|---|---|
|
Author |
The author is the group or person responsible for the test. |
|
|
AutoDestroyActors |
||
|
uint32: 1 |
bIsEnabled |
Allows a test to be disabled. |
|
bIsRunning |
AG TEMP - solving a compile issue in a temp way to unblock the bui.d. |
|
|
CurrentRerunCause |
Cause of the current rerun if we're in a named rerun. |
|
|
Description |
A description of the test, like what is this test trying to determine. |
|
|
FailureMessage |
||
|
LogErrorHandling |
Determines how LogErrors are handled during this test. |
|
|
LogWarningHandling |
Determines how LogWarnings are handled during this test. |
|
|
AActor * |
ObservationPoint |
Allows you to specify another actor to view the test from. |
|
OnTestFinished |
Called when the test is finished. Use it to clean up |
|
|
OnTestPrepare |
Called when the test is ready to prepare |
|
|
OnTestStart |
Called when the test is started |
|
|
float |
PreparationTimeLimit |
The Test's time limit for preparation, this is the time it has to return true when checking IsReady(). |
|
RandomNumbersStream |
A random number stream that you can use during testing. |
|
|
RenderComp |
||
|
RerunCauses |
List of causes we need a re-run. |
|
|
Result |
||
|
RunFrame |
||
|
float |
RunTime |
|
|
StartFrame |
||
|
float |
StartTime |
|
|
Steps |
||
|
TestFinishedObserver |
||
|
TestName |
||
|
float |
TimeLimit |
Test's time limit. '0' means no limit |
|
TimesUpMessage |
||
|
TimesUpResult |
If test is limited by time this is the result that will be returned when time runs out |
|
|
float |
TotalTime |
Name | Description | |
---|---|---|
|
AFunctionalTest ( |
Name | Description | ||
---|---|---|---|
|
AddError ( |
||
|
AddRerun ( |
Causes the test to be rerun for a specific named reason. |
|
|
AddWarning ( |
||
|
AssertEqual_Bool |
Assert that two bools are equal |
|
|
AssertEqual_Float |
Assert that two floats are equal within tolerance between two floats. |
|
|
AssertEqual_Int |
Assert that two ints are equal |
|
|
AssertEqual_Name |
Assert that two FNames are equal |
|
|
AssertEqual_Object |
Assert that two Objects are equal |
|
|
AssertEqual_Rotator |
Assert that the component angles of two rotators are all equal within a small tolerance. |
|
|
AssertEqual_String |
Assert that two Strings are equal. |
|
|
AssertEqual_TraceQueryResults ( |
Assert that two TraceQueryResults are equal. |
|
|
AssertEqual_Transform ( |
Assert that two transforms are (components memberwise - translation, rotation, scale) equal within a small tolerance. |
|
|
AssertEqual_Vector |
Assert that two vectors are (memberwise) equal within a small tolerance. |
|
|
AssertFalse |
Assert that a boolean value is false. |
|
|
AssertIsValid |
Assert that a UObject is valid |
|
|
AssertNotEqual_Rotator |
Assert that the component angles of two rotators are all not equal within a small tolerance. |
|
|
AssertNotEqual_String |
Assert that two Strings are not equal. |
|
|
AssertNotEqual_Transform ( |
Assert that two transforms are (components memberwise - translation, rotation, scale) not equal within a small tolerance. |
|
|
AssertNotEqual_Vector |
Assert that two vectors are (memberwise) not equal within a small tolerance. |
|
|
AssertTrue |
Assert that a boolean value is true. |
|
|
AssertValue_DateTime ( |
Assert on a relationship between two DateTimes. |
|
|
AssertValue_Float ( |
Assert on a relationship between two floats. |
|
|
AssertValue_Int ( |
Assert on a relationship between two integers. |
|
|
CleanUp() |
Called to clean up when tests is removed from the list of active tests after finishing execution. |
|
|
DebugGatherRelevantActors() |
Used by debug drawing to gather actors this test is using and point at them on the level to better understand test's setup |
|
|
FinishStep() |
||
|
FinishTest ( |
||
|
GatherRelevantActors |
||
|
GetAdditionalTestFinishedMessage ( |
||
|
GetCurrentRerunReason() |
Returns the current re-run reason if we're in a named re-run. |
|
|
GetCurrentStepName() |
||
|
GetReproString() |
||
|
UBillboardCo... |
GetSpriteComponent() |
Returns SpriteComponent subobject |
|
GoToObservationPoint() |
Goto an observation location. |
|
|
IsEnabled() |
||
|
IsInStep() |
||
|
IsReady() |
IsReady() is called once per frame after a test is run, until it returns true. |
|
|
IsReady_Implementation() |
||
|
IsRunning() |
||
|
LogMessage ( |
||
|
LogStep ( |
Protected: |
|
|
OnAdditionalTestFinishedMessageRequest ( |
||
|
OnSelectObject ( |
||
|
OnTimeout() |
||
|
OnWantsReRunCheck() |
Retrieves information whether test wants to have another run just after finishing |
|
|
PrepareTest() |
Prepare Test is fired once the test starts up, before the test IsReady() and thus before Start Test is called. |
|
|
ReceivePrepareTest() |
Prepare Test is fired once the test starts up, before the test IsReady() and thus before Start Test is called. |
|
|
ReceiveStartTest() |
Called once the IsReady() check for the test returns true. |
|
|
RegisterAutoDestroyActor ( |
ACtors registered this way will be automatically destroyed (by limiting their lifespan) on test finish |
|
|
RunTest |
||
|
SetTimeLimit ( |
||
|
StartStep ( |
||
|
StartTest() |
Called once the IsReady() check for the test returns true. |
|
|
WantsToRunAgain() |
Name | Description | ||
---|---|---|---|
|
EndPlay ( |
Overridable function called whenever this actor is being removed from a level |
|
|
OnConstruction ( |
Called when an instance of this class is placed (in editor) or spawned. |
|
|
Tick ( |
Function called every frame on this Actor. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |