zworld-em/Plugins/sentry-unreal/Source/Sentry/Private/Tests/SentryTests.h

16 lines
462 B
C
Raw Normal View History

2025-05-11 22:07:21 +08:00
// Copyright (c) 2024 Sentry. All Rights Reserved.
#pragma once
#include "Misc/AutomationTest.h"
#include "Misc/EngineVersionComparison.h"
#if WITH_AUTOMATION_TESTS
#if UE_VERSION_OLDER_THAN(5, 5, 0)
static constexpr EAutomationTestFlags::Type SentryApplicationContextMask = EAutomationTestFlags::ApplicationContextMask;
#else
static constexpr EAutomationTestFlags SentryApplicationContextMask = EAutomationTestFlags_ApplicationContextMask;
#endif
#endif