Files
UnrealEngineUWP/Engine/Source/Programs/Online/OSSTestsCore/TestUtilities.h
alex kasianchuk fe0129e4cf OSSTests - Enable OnlineSubsystemMcp testing
- Splitting OSSTests into two parts: OSSTests and OSSTestsCore.
- This division allowed to make OSMcpTests, which includes Mcp support for tests.
- OSSTests and OSMcpTests have their own DefaultEngine.ini from which they can get the necessary values for tests.

#jira UE-194407
#rb michael.Kirzinger, stephen.ma

[CL 31586645 by alex kasianchuk in ue5-main branch]
2024-02-16 18:44:52 -05:00

25 lines
412 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "TestHarness.h"
class FTestUtilities
{
public:
static FString GetUniqueTestString()
{
int32 Rand = FMath::RandHelper(INT_MAX);
FString UniqueString;
UniqueString.Append(FString::FromInt(Rand));
return UniqueString;
}
static int32 GetUniqueTestInteger()
{
int32 Rand = FMath::RandHelper(INT_MAX);
return Rand;
}
};