Files
UnrealEngineUWP/Engine/Source/Developer/AutomationController/Private/AutomationControllerSettings.cpp
Jerome Delattre 2e98fecdba Test Automation - Add Keep PIE open in advance settings
+ add project config settings to change that default.

#jira UE-162059
#preflight 6307d9665a76ca27a8a800d6
#rb Chris.Constantinescu

[CL 21685895 by Jerome Delattre in ue5-main branch]
2022-08-29 15:29:28 -04:00

29 lines
901 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "AutomationControllerSettings.h"
DEFINE_LOG_CATEGORY_STATIC(LogAutomationControllerSettings, Log, All)
UAutomationControllerSettings::UAutomationControllerSettings(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
, bSuppressLogErrors(false)
, bSuppressLogWarnings(false)
, bElevateLogWarningsToErrors(true)
, bKeepPIEOpen(false)
, 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;
}
}