Files
UnrealEngineUWP/Engine/Source/Programs/Horde/HordeServer/Models/TestData.cs
ben marsh 53fd8641ae Horde: Move type aliases into namespace scope for simplicity. Also prevents weirdness with quick refactoring screwing up the order when adding new using declarations.
#ROBOMERGE-SOURCE: CL 17096399 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17096400 by ben marsh in ue5-release-engine-test branch]
2021-08-07 19:19:42 -04:00

61 lines
1.2 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using HordeServer.Utilities;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HordeServer.Models
{
using StreamId = StringId<IStream>;
using TemplateRefId = StringId<TemplateRef>;
/// <summary>
/// Stores information about the results of a test
/// </summary>
public interface ITestData
{
/// <summary>
/// Unique id of the test data
/// </summary>
ObjectId Id { get; }
/// <summary>
/// Stream that generated the test data
/// </summary>
StreamId StreamId { get; }
/// <summary>
/// The template reference id
/// </summary>
TemplateRefId TemplateRefId { get; }
/// <summary>
/// The job which produced the data
/// </summary>
ObjectId JobId { get; }
/// <summary>
/// The step that ran
/// </summary>
SubResourceId StepId { get; }
/// <summary>
/// The changelist number that contained the data
/// </summary>
int Change { get; }
/// <summary>
/// Key used to identify the particular data
/// </summary>
string Key { get; }
/// <summary>
/// The data stored for this test
/// </summary>
BsonDocument Data { get; }
}
}