FbxImportTestPath
FbxImportTestPath
#Overview
name: FbxImportTestPath
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:2764, section: [AutomationTesting.FbxImport]
- INI Section:
AutomationTesting.FbxImport
- Raw value:
Content/FbxEditorAutomation/
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/Tests/EditorTests/Source/EditorTests/Private/UnrealEd/FbxAutomationTests.cpp:48
Scope: file
Source code excerpt:
* FFbxImportAssetsAutomationTest
* Test that attempts to import .fbx files and verify that the result match the expectation (import options and result expectation are in a .json file) within the unit test directory in a sub-folder
* specified in the engine.ini file "AutomationTesting->FbxImportTestPath". Cannot be run in a commandlet
* as it executes code that routes through Slate UI.
*/
IMPLEMENT_COMPLEX_AUTOMATION_TEST(FFbxImportAssetsAutomationTest, "Editor.Import.Fbx", (EAutomationTestFlags::EditorContext | EAutomationTestFlags::NonNullRHI | EAutomationTestFlags::EngineFilter))
class FFbxImportAssetsAutomationTestHelper
{
public:
static UAnimSequence* GetImportedAnimSequence(TArray<FAssetData>& ImportedAssets, FAutomationTestExecutionInfo& ExecutionInfo, const FString& FormatedErrorMessagePrefix)
{
UAnimSequence* AnimSequence = nullptr;
for (const FAssetData& AssetData : ImportedAssets)
#Loc: <Workspace>/Engine/Plugins/Tests/EditorTests/Source/EditorTests/Private/UnrealEd/FbxAutomationTests.cpp:127
Scope (from outer to inner):
file
function void FFbxImportAssetsAutomationTest::GetTests
Source code excerpt:
FString ImportTestDirectory;
check(GConfig);
GConfig->GetString(TEXT("AutomationTesting.FbxImport"), TEXT("FbxImportTestPath"), ImportTestDirectory, GEngineIni);
ImportTestDirectory = FPaths::Combine(FPaths::ConvertRelativePathToFull(FPaths::EngineDir()), ImportTestDirectory);
// Find all files in the GenericImport directory
TArray<FString> FilesInDirectory;
IFileManager::Get().FindFilesRecursive(FilesInDirectory, *ImportTestDirectory, TEXT("*.*"), true, false);