Files
UnrealEngine/Engine/Source/Developer/LowLevelTestsRunner/Private/TestRunnerPrivate.h
2025-05-18 13:04:45 +08:00

29 lines
786 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "CoreTypes.h"
namespace UE::LowLevelTests
{
class ITestRunner
{
public:
/** Returns the test runner if one is active, otherwise null. */
static ITestRunner* Get();
/** Returns true if the test runner will perform global setup and teardown. */
virtual bool HasGlobalSetup() const = 0;
/** Returns true if the test runner has default logging enabled via UE_LOG. */
virtual bool HasLogOutput() const = 0;
/** Returns true if the test runner has extra debug functionality enabled. */
virtual bool IsDebugMode() const = 0;
/** Returns a value indicating per test allowed timeout in minutes. */
virtual int GetTimeoutMinutes() const = 0;
protected:
ITestRunner();
virtual ~ITestRunner();
};
} // UE::LowLevelTests