Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

28 lines
702 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "TestCommon/Initialization.h"
#if WITH_ENGINE
#include "Logging/LogScopedVerbosityOverride.h"
#include "SlateGlobals.h"
#include "Styling/SlateWidgetStyleContainerBase.h"
#endif
#include <catch2/catch_test_macros.hpp>
GROUP_BEFORE_GLOBAL(Catch::DefaultGroup)
{
#if WITH_ENGINE
LOG_SCOPE_VERBOSITY_OVERRIDE(LogSlate, ELogVerbosity::Error);
LOG_SCOPE_VERBOSITY_OVERRIDE(LogSlateStyle, ELogVerbosity::Error);
LOG_SCOPE_VERBOSITY_OVERRIDE(LogUObjectGlobals, ELogVerbosity::Fatal);
LOG_SCOPE_VERBOSITY_OVERRIDE(LogStreaming, ELogVerbosity::Error);
#endif
InitAll(true, true);
}
GROUP_AFTER_GLOBAL(Catch::DefaultGroup)
{
CleanupAll();
}