You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- 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]
25 lines
412 B
C++
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;
|
|
}
|
|
};
|