Files
UnrealEngineUWP/Engine/Source/Developer/AutomationController/Private/AutomationControllerSettings.cpp
oleg krasnov ae76461bc6 Implement auto expansion of subgroups that has only one child in SessionFrontend
#jira UE-187980
#rb jerome.delattre

[CL 25973143 by oleg krasnov in ue5-main branch]
2023-06-14 04:56:18 -04:00

33 lines
1014 B
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)
, 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;
}
}