You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
The optimization is enabled by default but can be disabled through project config: [/Script/AutomationController.AutomationControllerSettings] bPruneLogsOnSuccess=false Sorting tests by failure type in json output is now disabled by default and can be enabled using this config: bSortTestsByFailure=true It resides in the same AutomationControllerSettings section. #jira UE-215907 #rb sebastian.lewicki [CL 34092189 by jerome delattre in ue5-main branch]
35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "AutomationControllerSettings.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(AutomationControllerSettings)
|
|
|
|
DEFINE_LOG_CATEGORY_STATIC(LogAutomationControllerSettings, Log, All)
|
|
|
|
UAutomationControllerSettings::UAutomationControllerSettings(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
, bSuppressLogErrors(false)
|
|
, bSuppressLogWarnings(false)
|
|
, bElevateLogWarningsToErrors(true)
|
|
, bKeepPIEOpen(false)
|
|
, bAutoExpandSingleItemSubgroups(true)
|
|
, bSortTestsByFailure(false)
|
|
, bPruneLogsOnSuccess(true)
|
|
, bTreatLogWarningsAsTestErrors(true)
|
|
, GameInstanceLostTimerSeconds(300.0f)
|
|
, bResetTelemetryStorageOnNewSession(false)
|
|
{
|
|
}
|
|
|
|
void UAutomationControllerSettings::PostInitProperties()
|
|
{
|
|
Super::PostInitProperties();
|
|
|
|
if (!bTreatLogWarningsAsTestErrors)
|
|
{
|
|
UE_LOG(LogAutomationControllerSettings, Warning, TEXT("UAutomationControllerSettings::bTreatLogWarningsAsTestErrors is deprecated. Use bElevateLogWarningsToErrors instead."));
|
|
bElevateLogWarningsToErrors = false;
|
|
}
|
|
}
|