engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FAutomationTestInfo类 参考

Simple class to store the automation test info 更多...

#include <AutomationTest.h>

Public 成员函数

void AddTestFlags (const uint8 InTestFlags)
 Add a test flag if a parent node. 更多...
 
 FAutomationTestInfo (const FString &InDisplayName, const FString &InFullTestPath, const FString &InTestName, const uint32 InTestFlags, const int32 InNumParticipantsRequired, const FString &InParameterName=FString(), const FString &InSourceFile=FString(), int32 InSourceFileLine=0, const FString &InAssetPath=FString(), const FString &InOpenCommand=FString())
 Constructor 更多...
 
const FString GetAssetPath () const
 Gets the asset potentially associated with the test. 更多...
 
const FString & GetDisplayName () const
 Get the display name of this test. 更多...
 
const FString & GetFullTestPath () const
 Gets the full path for this test if you wanted to run it. 更多...
 
const int GetNumDevicesRunningTest () const
 Get the number of devices running this test 更多...
 
const int32 GetNumParticipantsRequired () const
 Get the number of participant this test needs in order to be run 更多...
 
const FString GetOpenCommand () const
 Gets the open command potentially associated with the test. 更多...
 
const FString GetSourceFile () const
 Get the source file this test originated in. 更多...
 
const int32 GetSourceFileLine () const
 Get the line number in the source file this test originated on. 更多...
 
const uint32 GetTestFlags () const
 Get the type of test. 更多...
 
FString GetTestName () const
 Get the test name of this test. 更多...
 
const FString GetTestParameter () const
 Get the type of parameter. 更多...
 
void InformOfNewDeviceRunningTest ()
 Be notified of a new device running the test so we should update our flag counting these
 
void ResetNumDevicesRunningTest ()
 Zero the number of devices running this test
 
void SetDisplayName (const FString &InDisplayName)
 Set the display name of the child node. 更多...
 
void SetNumParticipantsRequired (int32 NumRequired)
 Set the number of participant this test needs in order to be run 更多...
 

详细描述

Simple class to store the automation test info

构造及析构函数说明

◆ FAutomationTestInfo()

FAutomationTestInfo::FAutomationTestInfo ( const FString &  InDisplayName,
const FString &  InFullTestPath,
const FString &  InTestName,
const uint32  InTestFlags,
const int32  InNumParticipantsRequired,
const FString &  InParameterName = FString(),
const FString &  InSourceFile = FString(),
int32  InSourceFileLine = 0,
const FString &  InAssetPath = FString(),
const FString &  InOpenCommand = FString() 
)
inline

Constructor

参数
InDisplayName- Name used in the UI
InTestName- The test command string
InTestFlag- Test flags
InParameterName- optional parameter. e.g. asset name

成员函数说明

◆ AddTestFlags()

void FAutomationTestInfo::AddTestFlags ( const uint8  InTestFlags)
inline

Add a test flag if a parent node.

@Param InTestFlags - the child test flag to add.

◆ GetAssetPath()

const FString FAutomationTestInfo::GetAssetPath ( ) const
inline

Gets the asset potentially associated with the test.

返回
the source line number.

◆ GetDisplayName()

const FString & FAutomationTestInfo::GetDisplayName ( ) const
inline

Get the display name of this test.

返回
the display name.

◆ GetFullTestPath()

const FString & FAutomationTestInfo::GetFullTestPath ( ) const
inline

Gets the full path for this test if you wanted to run it.

返回
the display name.

◆ GetNumDevicesRunningTest()

const int FAutomationTestInfo::GetNumDevicesRunningTest ( ) const
inline

Get the number of devices running this test

返回
The number of devices which have been given this test to run

◆ GetNumParticipantsRequired()

const int32 FAutomationTestInfo::GetNumParticipantsRequired ( ) const
inline

Get the number of participant this test needs in order to be run

返回
The number of participants needed

◆ GetOpenCommand()

const FString FAutomationTestInfo::GetOpenCommand ( ) const
inline

Gets the open command potentially associated with the test.

返回
the source line number.

◆ GetSourceFile()

const FString FAutomationTestInfo::GetSourceFile ( ) const
inline

Get the source file this test originated in.

返回
the source file.

◆ GetSourceFileLine()

const int32 FAutomationTestInfo::GetSourceFileLine ( ) const
inline

Get the line number in the source file this test originated on.

返回
the source line number.

◆ GetTestFlags()

const uint32 FAutomationTestInfo::GetTestFlags ( ) const
inline

Get the type of test.

返回
the test type.

◆ GetTestName()

FString FAutomationTestInfo::GetTestName ( ) const
inline

Get the test name of this test.

返回
The test name.

◆ GetTestParameter()

const FString FAutomationTestInfo::GetTestParameter ( ) const
inline

Get the type of parameter.

This will be the asset name for linked assets.

返回
the parameter.

◆ SetDisplayName()

void FAutomationTestInfo::SetDisplayName ( const FString &  InDisplayName)
inline

Set the display name of the child node.

@Param InDisplayName - the new child test name.

◆ SetNumParticipantsRequired()

void FAutomationTestInfo::SetNumParticipantsRequired ( int32  NumRequired)
inline

Set the number of participant this test needs in order to be run

@Param NumRequired - The new number of participants needed


该类的文档由以下文件生成: