Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FAutomationSpecBase Class Referenceabstract

#include <AutomationTest.h>

+ Inheritance diagram for FAutomationSpecBase:
+ Collaboration diagram for FAutomationSpecBase:

Classes

class  FAsyncLatentCommand
 
class  FAsyncUntilDoneLatentCommand
 
class  FSingleExecuteLatentCommand
 
struct  FSpec
 
struct  FSpecDefinitionScope
 
struct  FSpecIt
 
class  FUntilDoneLatentCommand
 

Public Member Functions

 FAutomationSpecBase (const FString &InName, const bool bInComplexTask)
 
virtual bool RunTest (const FString &InParameters) override
 
virtual bool IsStressTest () const
 
virtual uint32 GetRequiredDeviceNum () const override
 
virtual FString GetTestSourceFileName (const FString &InTestName) const override
 
virtual int32 GetTestSourceFileLine (const FString &InTestName) const override
 
virtual void GetTests (TArray< FString > &OutBeautifiedNames, TArray< FString > &OutTestCommands) const override
 
void xDescribe (const FString &InDescription, TFunction< void()> DoWork)
 
void Describe (const FString &InDescription, TFunction< void()> DoWork)
 
void xIt (const FString &InDescription, TFunction< void()> DoWork)
 
void xIt (const FString &InDescription, EAsyncExecution Execution, TFunction< void()> DoWork)
 
void xIt (const FString &InDescription, EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void()> DoWork)
 
void xLatentIt (const FString &InDescription, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentIt (const FString &InDescription, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentIt (const FString &InDescription, EAsyncExecution Execution, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentIt (const FString &InDescription, EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void It (const FString &InDescription, TFunction< void()> DoWork)
 
void It (const FString &InDescription, EAsyncExecution Execution, TFunction< void()> DoWork)
 
void It (const FString &InDescription, EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void()> DoWork)
 
void LatentIt (const FString &InDescription, TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentIt (const FString &InDescription, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentIt (const FString &InDescription, EAsyncExecution Execution, TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentIt (const FString &InDescription, EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xBeforeEach (TFunction< void()> DoWork)
 
void xBeforeEach (EAsyncExecution Execution, TFunction< void()> DoWork)
 
void xBeforeEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void()> DoWork)
 
void xLatentBeforeEach (TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentBeforeEach (const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentBeforeEach (EAsyncExecution Execution, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentBeforeEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void BeforeEach (TFunction< void()> DoWork)
 
void BeforeEach (EAsyncExecution Execution, TFunction< void()> DoWork)
 
void BeforeEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void()> DoWork)
 
void LatentBeforeEach (TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentBeforeEach (const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentBeforeEach (EAsyncExecution Execution, TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentBeforeEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xAfterEach (TFunction< void()> DoWork)
 
void xAfterEach (EAsyncExecution Execution, TFunction< void()> DoWork)
 
void xAfterEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void()> DoWork)
 
void xLatentAfterEach (TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentAfterEach (const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentAfterEach (EAsyncExecution Execution, TFunction< void(const FDoneDelegate &)> DoWork)
 
void xLatentAfterEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void AfterEach (TFunction< void()> DoWork)
 
void AfterEach (EAsyncExecution Execution, TFunction< void()> DoWork)
 
void AfterEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void()> DoWork)
 
void LatentAfterEach (TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentAfterEach (const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentAfterEach (EAsyncExecution Execution, TFunction< void(const FDoneDelegate &)> DoWork)
 
void LatentAfterEach (EAsyncExecution Execution, const FTimespan &Timeout, TFunction< void(const FDoneDelegate &)> DoWork)
 
- Public Member Functions inherited from FAutomationTestBase
 FAutomationTestBase (const FString &InName, const bool bInComplexTask)
 
virtual ~FAutomationTestBase ()
 
virtual uint32 GetTestFlags () const =0
 
FString GetTestName () const
 
FString GetTestContext () const
 
virtual FString GetTestFullName () const
 
void ClearExecutionInfo ()
 
virtual void AddError (const FString &InError, int32 StackOffset=0)
 
virtual void AddErrorIfFalse (bool bCondition, const FString &InError, int32 StackOffset=0)
 
virtual void AddErrorS (const FString &InError, const FString &InFilename, int32 InLineNumber)
 
virtual void AddWarningS (const FString &InWarning, const FString &InFilename, int32 InLineNumber)
 
virtual void AddWarning (const FString &InWarning, int32 StackOffset=0)
 
virtual void AddInfo (const FString &InLogItem, int32 StackOffset=0, bool bCaptureStack=false)
 
virtual void AddEvent (const FAutomationEvent &InEvent, int32 StackOffset=0, bool bCaptureStack=false)
 
virtual void AddAnalyticsItem (const FString &InAnalyticsItem)
 
virtual void AddTelemetryData (const FString &DataPoint, double Measurement, const FString &Context=TEXT(""))
 
virtual void AddTelemetryData (const TMap< FString, double > &ValuePairs, const FString &Context=TEXT(""))
 
virtual void SetTelemetryStorage (const FString &StorageName)
 
bool HasAnyErrors () const
 
bool HasMetExpectedMessages (ELogVerbosity::Type VerbosityType=ELogVerbosity::All)
 
bool HasMetExpectedErrors ()
 
bool GetLastExecutionSuccessState ()
 
void SetSuccessState (bool bSuccessful)
 
bool GetSuccessState ()
 
void GetExecutionInfo (FAutomationTestExecutionInfo &OutInfo) const
 
void GenerateTestNames (TArray< FAutomationTestInfo > &TestInfo) const
 
void AddExpectedMessage (FString ExpectedPatternString, ELogVerbosity::Type ExpectedVerbosity, EAutomationExpectedMessageFlags::MatchType CompareType=EAutomationExpectedMessageFlags::Contains, int32 Occurrences=1)
 
void AddExpectedMessage (FString ExpectedPatternString, EAutomationExpectedMessageFlags::MatchType CompareType=EAutomationExpectedMessageFlags::Contains, int32 Occurrences=1)
 
void GetExpectedMessages (TArray< FAutomationExpectedMessage > &OutInfo, ELogVerbosity::Type Verbosity=ELogVerbosity::All) const
 
void AddExpectedError (FString ExpectedPatternString, EAutomationExpectedErrorFlags::MatchType CompareType=EAutomationExpectedErrorFlags::Contains, int32 Occurrences=1)
 
const bool IsComplexTask () const
 
const bool IsRanOnSeparateThread () const
 
virtual bool SuppressLogs ()
 
virtual bool SuppressLogErrors ()
 
virtual bool SuppressLogWarnings ()
 
virtual bool ElevateLogWarningsToErrors ()
 
FORCEINLINE void AddCommand (IAutomationLatentCommand *NewCommand)
 
FORCEINLINE void AddCommand (IAutomationNetworkCommand *NewCommand)
 
virtual FString GetTestSourceFileName () const
 
virtual int32 GetTestSourceFileLine () const
 
virtual FString GetTestAssetPath (const FString &Parameter) const
 
virtual FString GetTestOpenCommand (const FString &Parameter) const
 
void PushContext (const FString &Context)
 
void PopContext ()
 
bool TestEqual (const TCHAR *What, const int32 Actual, const int32 Expected)
 
bool TestEqual (const TCHAR *What, const int64 Actual, const int64 Expected)
 
bool TestEqual (const TCHAR *What, const float Actual, const float Expected, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const TCHAR *What, const double Actual, const double Expected, double Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const TCHAR *What, const FVector Actual, const FVector Expected, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const TCHAR *What, const FTransform Actual, const FTransform Expected, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const TCHAR *What, const FRotator Actual, const FRotator Expected, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const TCHAR *What, const FColor Actual, const FColor Expected)
 
bool TestEqual (const TCHAR *What, const FLinearColor Actual, const FLinearColor Expected)
 
bool TestEqual (const TCHAR *What, const TCHAR *Actual, const TCHAR *Expected)
 
bool TestEqualInsensitive (const TCHAR *What, const TCHAR *Actual, const TCHAR *Expected)
 
bool TestEqual (const FString &What, const int32 Actual, const int32 Expected)
 
bool TestEqual (const FString &What, const float Actual, const float Expected, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const FString &What, const double Actual, const double Expected, double Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const FString &What, const FVector Actual, const FVector Expected, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const FString &What, const FRotator Actual, const FRotator Expected, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
bool TestEqual (const FString &What, const FColor Actual, const FColor Expected)
 
bool TestEqual (const FString &What, const TCHAR *Actual, const TCHAR *Expected)
 
bool TestEqual (const TCHAR *What, const FString &Actual, const TCHAR *Expected)
 
bool TestEqual (const FString &What, const FString &Actual, const TCHAR *Expected)
 
bool TestEqual (const TCHAR *What, const TCHAR *Actual, const FString &Expected)
 
bool TestEqual (const FString &What, const TCHAR *Actual, const FString &Expected)
 
bool TestEqual (const TCHAR *What, const FString &Actual, const FString &Expected)
 
bool TestEqual (const FString &What, const FString &Actual, const FString &Expected)
 
template<typename ValueType >
bool TestEqual (const TCHAR *What, const ValueType &Actual, const ValueType &Expected)
 
template<typename ValueType >
bool TestEqual (const FString &What, const ValueType &Actual, const ValueType &Expected)
 
bool TestFalse (const TCHAR *What, bool Value)
 
bool TestFalse (const FString &What, bool Value)
 
template<typename ValueType >
bool TestInvalid (const TCHAR *Description, const TSharedPtr< ValueType > &SharedPointer)
 
template<typename ValueType >
bool TestInvalid (const FString &Description, const TSharedPtr< ValueType > &SharedPointer)
 
template<typename ValueType >
bool TestNotEqual (const TCHAR *Description, const ValueType &Actual, const ValueType &Expected)
 
template<typename ValueType >
bool TestNotEqual (const FString &Description, const ValueType &Actual, const ValueType &Expected)
 
template<typename ValueType >
bool TestNotNull (const TCHAR *What, const ValueType *Pointer)
 
template<typename ValueType >
bool TestNotNull (const FString &What, const ValueType *Pointer)
 
template<typename ValueType >
bool TestNotSame (const TCHAR *Description, const ValueType &Actual, const ValueType &Expected)
 
template<typename ValueType >
bool TestNotSame (const FString &Description, const ValueType &Actual, const ValueType &Expected)
 
bool TestNull (const TCHAR *What, const void *Pointer)
 
bool TestNull (const FString &What, const void *Pointer)
 
template<typename ValueType >
bool TestSame (const TCHAR *Description, const ValueType &Actual, const ValueType &Expected)
 
template<typename ValueType >
bool TestSame (const FString &Description, const ValueType &Actual, const ValueType &Expected)
 
bool TestTrue (const TCHAR *What, bool Value)
 
bool TestTrue (const FString &What, bool Value)
 
template<typename ValueType >
bool TestValid (const TCHAR *Description, const TSharedPtr< ValueType > &SharedPointer)
 
template<typename ValueType >
bool TestValid (const FString &Description, const TSharedPtr< ValueType > &SharedPointer)
 
- Public Member Functions inherited from TSharedFromThis< FAutomationSpecBase >
TSharedRef< FAutomationSpecBase, Mode > AsShared ()
 
TSharedRef< FAutomationSpecBase const, Mode > AsShared () const
 
TWeakPtr< FAutomationSpecBase, Mode > AsWeak ()
 
TWeakPtr< FAutomationSpecBase const, Mode > AsWeak () const
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 
FORCEINLINE bool DoesSharedInstanceExist () const
 

Protected Member Functions

void EnsureDefinitions () const
 
virtual void Define ()=0
 
void PostDefine ()
 
void Redefine ()
 
- Protected Member Functions inherited from FAutomationTestBase
virtual FString GetBeautifiedTestName () const =0
 
virtual void SetTestContext (FString Context)
 
uint32 ExtractAutomationTestFlags (FString InTagNotation)
 
- Protected Member Functions inherited from TSharedFromThis< FAutomationSpecBase >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
FORCEINLINE TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 

Protected Attributes

FTimespan DefaultTimeout
 
bool bEnableSkipIfError
 
- Protected Attributes inherited from FAutomationTestBase
bool bComplexTask
 
bool bRunOnSeparateThread
 
bool bSuppressLogs = false
 
FString TestName
 
FString TestParameterContext
 
FAutomationTestExecutionInfo ExecutionInfo
 

Private Member Functions

void PushDescription (const FString &InDescription)
 
void PopDescription (const FString &InDescription)
 
FString GetDescription () const
 
FString GetId () const
 

Private Attributes

TArray< FStringDescription
 
TMap< FString, TSharedRef< FSpec > > IdToSpecMap
 
TSharedPtr< FSpecDefinitionScopeRootDefinitionScope
 
TArray< TSharedRef< FSpecDefinitionScope > > DefinitionScopeStack
 
bool bHasBeenDefined
 

Additional Inherited Members

- Static Public Member Functions inherited from FAutomationTestBase
static bool LogCategoryMatchesSeverityInclusive (ELogVerbosity::Type Actual, ELogVerbosity::Type MaximumVerbosity)
 
- Static Protected Member Functions inherited from TSharedFromThis< FAutomationSpecBase >
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static FORCEINLINE TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

Definition at line 2129 of file AutomationTest.h.

Constructor & Destructor Documentation

◆ FAutomationSpecBase()

FAutomationSpecBase::FAutomationSpecBase ( const FString & InName,
const bool bInComplexTask )
inline

Definition at line 2430 of file AutomationTest.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ AfterEach() [1/3]

void FAutomationSpecBase::AfterEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void()> DoWork )
inline

Definition at line 2783 of file AutomationTest.h.

◆ AfterEach() [2/3]

void FAutomationSpecBase::AfterEach ( EAsyncExecution Execution,
TFunction< void()> DoWork )
inline

Definition at line 2777 of file AutomationTest.h.

◆ AfterEach() [3/3]

void FAutomationSpecBase::AfterEach ( TFunction< void()> DoWork)
inline

Definition at line 2771 of file AutomationTest.h.

◆ BeforeEach() [1/3]

void FAutomationSpecBase::BeforeEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void()> DoWork )
inline

Definition at line 2706 of file AutomationTest.h.

◆ BeforeEach() [2/3]

void FAutomationSpecBase::BeforeEach ( EAsyncExecution Execution,
TFunction< void()> DoWork )
inline

Definition at line 2700 of file AutomationTest.h.

◆ BeforeEach() [3/3]

void FAutomationSpecBase::BeforeEach ( TFunction< void()> DoWork)
inline

Definition at line 2694 of file AutomationTest.h.

◆ Define()

virtual void FAutomationSpecBase::Define ( )
protectedpure virtual
+ Here is the caller graph for this function:

◆ Describe()

void FAutomationSpecBase::Describe ( const FString & InDescription,
TFunction< void()> DoWork )
inline

Definition at line 2534 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ EnsureDefinitions()

void FAutomationSpecBase::EnsureDefinitions ( ) const
inlineprotected

Definition at line 2821 of file AutomationTest.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDescription()

FString FAutomationSpecBase::GetDescription ( ) const
inlineprivate

Definition at line 2920 of file AutomationTest.h.

◆ GetId()

FString FAutomationSpecBase::GetId ( ) const
inlineprivate

Definition at line 2947 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ GetRequiredDeviceNum()

virtual uint32 FAutomationSpecBase::GetRequiredDeviceNum ( ) const
inlineoverridevirtual

Pure virtual method; returns the number of participants for this test

Returns
Number of required participants

Implements FAutomationTestBase.

Definition at line 2476 of file AutomationTest.h.

◆ GetTests()

virtual void FAutomationSpecBase::GetTests ( TArray< FString > & OutBeautifiedNames,
TArray< FString > & OutTestCommands ) const
inlineoverridevirtual

Asks the test to enumerate variants that will all go through the "RunTest" function with different parameters (for load all maps, this should enumerate all maps to load)\

Parameters
OutBeautifiedNames- Name of the test that can be displayed by the UI (for load all maps, it would be the map name without any directory prefix)
OutTestCommands- The parameters to be specified to each call to RunTests (for load all maps, it would be the map name to load)

Implements FAutomationTestBase.

Definition at line 2515 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ GetTestSourceFileLine()

virtual int32 FAutomationSpecBase::GetTestSourceFileLine ( const FString & InTestName) const
inlineoverridevirtual

Gets the line number where this test was defined.

Reimplemented from FAutomationTestBase.

Definition at line 2498 of file AutomationTest.h.

◆ GetTestSourceFileName()

virtual FString FAutomationSpecBase::GetTestSourceFileName ( const FString & InTestName) const
inlineoverridevirtual

Gets the filename where this test was defined.

Reimplemented from FAutomationTestBase.

Definition at line 2481 of file AutomationTest.h.

◆ IsStressTest()

virtual bool FAutomationSpecBase::IsStressTest ( ) const
inlinevirtual

Definition at line 2471 of file AutomationTest.h.

◆ It() [1/3]

void FAutomationSpecBase::It ( const FString & InDescription,
EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void()> DoWork )
inline

Definition at line 2609 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ It() [2/3]

void FAutomationSpecBase::It ( const FString & InDescription,
EAsyncExecution Execution,
TFunction< void()> DoWork )
inline

Definition at line 2599 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ It() [3/3]

void FAutomationSpecBase::It ( const FString & InDescription,
TFunction< void()> DoWork )
inline

Definition at line 2589 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ LatentAfterEach() [1/4]

void FAutomationSpecBase::LatentAfterEach ( const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2795 of file AutomationTest.h.

◆ LatentAfterEach() [2/4]

void FAutomationSpecBase::LatentAfterEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2807 of file AutomationTest.h.

◆ LatentAfterEach() [3/4]

void FAutomationSpecBase::LatentAfterEach ( EAsyncExecution Execution,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2801 of file AutomationTest.h.

◆ LatentAfterEach() [4/4]

void FAutomationSpecBase::LatentAfterEach ( TFunction< void(const FDoneDelegate &)> DoWork)
inline

Definition at line 2789 of file AutomationTest.h.

◆ LatentBeforeEach() [1/4]

void FAutomationSpecBase::LatentBeforeEach ( const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2718 of file AutomationTest.h.

◆ LatentBeforeEach() [2/4]

void FAutomationSpecBase::LatentBeforeEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2730 of file AutomationTest.h.

◆ LatentBeforeEach() [3/4]

void FAutomationSpecBase::LatentBeforeEach ( EAsyncExecution Execution,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2724 of file AutomationTest.h.

◆ LatentBeforeEach() [4/4]

void FAutomationSpecBase::LatentBeforeEach ( TFunction< void(const FDoneDelegate &)> DoWork)
inline

Definition at line 2712 of file AutomationTest.h.

◆ LatentIt() [1/4]

void FAutomationSpecBase::LatentIt ( const FString & InDescription,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2629 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ LatentIt() [2/4]

void FAutomationSpecBase::LatentIt ( const FString & InDescription,
EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2649 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ LatentIt() [3/4]

void FAutomationSpecBase::LatentIt ( const FString & InDescription,
EAsyncExecution Execution,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2639 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ LatentIt() [4/4]

void FAutomationSpecBase::LatentIt ( const FString & InDescription,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2619 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ PopDescription()

void FAutomationSpecBase::PopDescription ( const FString & InDescription)
inlineprivate

Definition at line 2915 of file AutomationTest.h.

+ Here is the caller graph for this function:

◆ PostDefine()

void FAutomationSpecBase::PostDefine ( )
inlineprotected

Definition at line 2832 of file AutomationTest.h.

+ Here is the caller graph for this function:

◆ PushDescription()

void FAutomationSpecBase::PushDescription ( const FString & InDescription)
inlineprivate

Definition at line 2909 of file AutomationTest.h.

+ Here is the caller graph for this function:

◆ Redefine()

void FAutomationSpecBase::Redefine ( )
inlineprotected

Definition at line 2898 of file AutomationTest.h.

◆ RunTest()

virtual bool FAutomationSpecBase::RunTest ( const FString & Parameters)
inlineoverridevirtual

Virtual call to execute the automation test.

Parameters
Parameters- Parameter list for the test (but it will be empty for simple tests)
Returns
TRUE if the test was run successfully; FALSE otherwise

Implements FAutomationTestBase.

Definition at line 2439 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ xAfterEach() [1/3]

void FAutomationSpecBase::xAfterEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void()> DoWork )
inline

Definition at line 2746 of file AutomationTest.h.

◆ xAfterEach() [2/3]

void FAutomationSpecBase::xAfterEach ( EAsyncExecution Execution,
TFunction< void()> DoWork )
inline

Definition at line 2741 of file AutomationTest.h.

◆ xAfterEach() [3/3]

void FAutomationSpecBase::xAfterEach ( TFunction< void()> DoWork)
inline

Definition at line 2736 of file AutomationTest.h.

◆ xBeforeEach() [1/3]

void FAutomationSpecBase::xBeforeEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void()> DoWork )
inline

Definition at line 2669 of file AutomationTest.h.

◆ xBeforeEach() [2/3]

void FAutomationSpecBase::xBeforeEach ( EAsyncExecution Execution,
TFunction< void()> DoWork )
inline

Definition at line 2664 of file AutomationTest.h.

◆ xBeforeEach() [3/3]

void FAutomationSpecBase::xBeforeEach ( TFunction< void()> DoWork)
inline

Definition at line 2659 of file AutomationTest.h.

◆ xDescribe()

void FAutomationSpecBase::xDescribe ( const FString & InDescription,
TFunction< void()> DoWork )
inline

Definition at line 2529 of file AutomationTest.h.

◆ xIt() [1/3]

void FAutomationSpecBase::xIt ( const FString & InDescription,
EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void()> DoWork )
inline

Definition at line 2564 of file AutomationTest.h.

◆ xIt() [2/3]

void FAutomationSpecBase::xIt ( const FString & InDescription,
EAsyncExecution Execution,
TFunction< void()> DoWork )
inline

Definition at line 2559 of file AutomationTest.h.

◆ xIt() [3/3]

void FAutomationSpecBase::xIt ( const FString & InDescription,
TFunction< void()> DoWork )
inline

Definition at line 2554 of file AutomationTest.h.

◆ xLatentAfterEach() [1/4]

void FAutomationSpecBase::xLatentAfterEach ( const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2756 of file AutomationTest.h.

◆ xLatentAfterEach() [2/4]

void FAutomationSpecBase::xLatentAfterEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2766 of file AutomationTest.h.

◆ xLatentAfterEach() [3/4]

void FAutomationSpecBase::xLatentAfterEach ( EAsyncExecution Execution,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2761 of file AutomationTest.h.

◆ xLatentAfterEach() [4/4]

void FAutomationSpecBase::xLatentAfterEach ( TFunction< void(const FDoneDelegate &)> DoWork)
inline

Definition at line 2751 of file AutomationTest.h.

◆ xLatentBeforeEach() [1/4]

void FAutomationSpecBase::xLatentBeforeEach ( const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2679 of file AutomationTest.h.

◆ xLatentBeforeEach() [2/4]

void FAutomationSpecBase::xLatentBeforeEach ( EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2689 of file AutomationTest.h.

◆ xLatentBeforeEach() [3/4]

void FAutomationSpecBase::xLatentBeforeEach ( EAsyncExecution Execution,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2684 of file AutomationTest.h.

◆ xLatentBeforeEach() [4/4]

void FAutomationSpecBase::xLatentBeforeEach ( TFunction< void(const FDoneDelegate &)> DoWork)
inline

Definition at line 2674 of file AutomationTest.h.

◆ xLatentIt() [1/4]

void FAutomationSpecBase::xLatentIt ( const FString & InDescription,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2574 of file AutomationTest.h.

◆ xLatentIt() [2/4]

void FAutomationSpecBase::xLatentIt ( const FString & InDescription,
EAsyncExecution Execution,
const FTimespan & Timeout,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2584 of file AutomationTest.h.

◆ xLatentIt() [3/4]

void FAutomationSpecBase::xLatentIt ( const FString & InDescription,
EAsyncExecution Execution,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2579 of file AutomationTest.h.

◆ xLatentIt() [4/4]

void FAutomationSpecBase::xLatentIt ( const FString & InDescription,
TFunction< void(const FDoneDelegate &)> DoWork )
inline

Definition at line 2569 of file AutomationTest.h.

Member Data Documentation

◆ bEnableSkipIfError

bool FAutomationSpecBase::bEnableSkipIfError
protected

Definition at line 2819 of file AutomationTest.h.

◆ bHasBeenDefined

bool FAutomationSpecBase::bHasBeenDefined
private

Definition at line 2993 of file AutomationTest.h.

◆ DefaultTimeout

FTimespan FAutomationSpecBase::DefaultTimeout
protected

Definition at line 2816 of file AutomationTest.h.

◆ DefinitionScopeStack

TArray<TSharedRef<FSpecDefinitionScope> > FAutomationSpecBase::DefinitionScopeStack
private

Definition at line 2992 of file AutomationTest.h.

◆ Description

TArray<FString> FAutomationSpecBase::Description
private

Definition at line 2989 of file AutomationTest.h.

◆ IdToSpecMap

TMap<FString, TSharedRef<FSpec> > FAutomationSpecBase::IdToSpecMap
private

Definition at line 2990 of file AutomationTest.h.

◆ RootDefinitionScope

TSharedPtr<FSpecDefinitionScope> FAutomationSpecBase::RootDefinitionScope
private

Definition at line 2991 of file AutomationTest.h.


The documentation for this class was generated from the following file: