Navigation
API > API/Plugins > API/Plugins/CQTest
Inheritance Hierarchy
- FAutomationTestBase
- TTestRunner
References
| Module | CQTest |
| Header | /Engine/Plugins/Tests/CQTest/Source/CQTest/Public/CQTest.h |
| Include | #include "CQTest.h" |
Syntax
template<typename AsserterType>
struct TTestRunner : public FAutomationTestBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInitializing | ||
| TUniquePtr< TBaseTest< AsserterType > > | CurrentTestPtr | ||
| FString | FileName | ||
| int32 | LineNumber | ||
| ECQTestSuppressLogBehavior | SuppressLogErrorsBehavior | ||
| ECQTestSuppressLogBehavior | SuppressLogWarningsBehavior | ||
| FString | TestDir | ||
| uint32 | TestFlags | ||
| TTestInstanceGenerator< AsserterType > | TestInstanceFactory | ||
| TMap< FString, int32 > | TestLineNumbers | ||
| TArray< FString > | TestNames |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TTestRunner
(
FString Name, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetSuppressLogErrors
(
ECQTestSuppressLogBehavior Behavior |
||
| void | SetSuppressLogWarnings
(
ECQTestSuppressLogBehavior Behavior |
Overridden from FAutomationTestBase
| Type | Name | Description | |
|---|---|---|---|
| FString | Returns the beautified test name | ||
| uint32 | Pure virtual method; returns the number of participants for this test | ||
| uint32 | GetTestFlags () |
Pure virtual method; returns the flags associated with the given automation test | |
| void | 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)\ | ||
| int32 | Gets the line number where this test was defined. | ||
| int32 | GetTestSourceFileLine
(
const FString& InTestName |
Gets the line number where this test was defined. | |
| FString | Gets the filename where this test was defined. | ||
| bool | Virtual call to execute the automation test. | ||
| bool | If returns true then logging with a level of Error will not be recorded in test results | ||
| bool | If returns true then logging with a level of Warning will not be recorded in test results |