You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Editor, Engine, CoreUObject etc will have their own separate utility headers for tests that rely on respective special modules. Replace platform names in catch2 code. LLT all tests run preflight: 621e3c91f1206ae3ea5b0a66 #preflight 621e3c8bf1206ae3ea5b0872 #rb Jerome.Delattre [CL 19202751 by chris constantinescu in ue5-main branch]
60 lines
1.0 KiB
C++
60 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "TestCommon/Initialization.h"
|
|
|
|
|
|
void InitAllThreadPoolsEditorEx(bool MultiThreaded)
|
|
{
|
|
#if WITH_EDITOR
|
|
InitEditorThreadPools();
|
|
#endif // WITH_EDITOR
|
|
InitAllThreadPools(MultiThreaded);
|
|
}
|
|
|
|
void InitOutputDevicesEx()
|
|
{
|
|
#if WITH_APPLICATION_CORE
|
|
InitOutputDevicesAppCore();
|
|
#else
|
|
InitOutputDevices();
|
|
#endif
|
|
}
|
|
|
|
void InitStats()
|
|
{
|
|
#if STATS
|
|
FThreadStats::StartThread();
|
|
#endif // #if STATS
|
|
}
|
|
|
|
void InitAll(bool bAllowLogging, bool bMultithreaded)
|
|
{
|
|
InitCommandLine(bAllowLogging);
|
|
InitAllThreadPools(bMultithreaded);
|
|
#if WITH_ENGINE
|
|
InitAsyncQueues();
|
|
#endif // WITH_ENGINE
|
|
InitTaskGraph();
|
|
InitOutputDevices();
|
|
#if WITH_ENGINE
|
|
InitRendering();
|
|
#endif // WITH_ENGINE
|
|
#if WITH_EDITOR
|
|
InitDerivedDataCache();
|
|
InitSlate();
|
|
InitForWithEditorOnlyData();
|
|
InitEditor();
|
|
#endif // WITH_EDITOR
|
|
#if WITH_COREUOBJECT
|
|
InitCoreUObject();
|
|
#endif
|
|
}
|
|
|
|
void CleanupAll()
|
|
{
|
|
#if WITH_COREUOBJECT
|
|
CleanupCoreUObject();
|
|
#endif
|
|
CleanupAllThreadPools();
|
|
CleanupTaskGraph();
|
|
} |