Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Tests
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Tests/AutomationCommon.h |
| Include | #include "Tests/AutomationCommon.h" |
Syntax
struct FTestConsoleVariable
Remarks
Utility for setting and restoring of a Console Variable (CVar).
Note that race conditions are possible when multiple [FTestConsoleVariable](API\Runtime\Engine\Tests\FTestConsoleVariable)_ objects refer to the same Console Variable and get restored/destroyed in an order different than they were set. Please use FScopedTestEnvironment to manage multiple `FTestConsoleVariable objects.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTestConsoleVariable
(
const FString& InConsoleVariableName |
|||
FTestConsoleVariable
(
FTestConsoleVariable&& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|