TestLevelFolders
TestLevelFolders
#Overview
name: TestLevelFolders
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:2779, section: [/Script/Engine.AutomationTestSettings]
- INI Section:
/Script/Engine.AutomationTestSettings
- Raw value:
TestMaps
- Is Array:
True
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/Misc/AutomationTest.cpp:762
Scope (from outer to inner):
file
function bool FAutomationTestFramework::ShouldTestContent
Source code excerpt:
bool FAutomationTestFramework::ShouldTestContent(const FString& Path) const
{
static TArray<FString> TestLevelFolders;
if ( TestLevelFolders.Num() == 0 )
{
GConfig->GetArray( TEXT("/Script/Engine.AutomationTestSettings"), TEXT("TestLevelFolders"), TestLevelFolders, GEngineIni);
}
bool bMatchingDirectory = false;
for ( const FString& Folder : TestLevelFolders )
{
const FString PatternToCheck = FString::Printf(TEXT("/%s/"), *Folder);
if ( Path.Contains(*PatternToCheck) )
{
bMatchingDirectory = true;
}
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Classes/Tests/AutomationTestSettings.h:413
Scope (from outer to inner):
file
class class UAutomationTestSettings : public UObject
Source code excerpt:
*/
UPROPERTY(EditAnywhere, config, Category = MiscAutomationSetups)
TArray<FString> TestLevelFolders;
/**
* External executables and scripts to run as part of automation.
*/
UPROPERTY(EditAnywhere, config, Category=ExternalTools)
TArray<FExternalToolDefinition> ExternalTools;