42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Unity.PerformanceTesting.Data
|
|
{
|
|
/// <summary>
|
|
/// Represents a performance test result.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class PerformanceTestResult
|
|
{
|
|
/// <summary>
|
|
/// Full test name.
|
|
/// </summary>
|
|
[RequiredMember] public string Name;
|
|
|
|
/// <summary>
|
|
/// Test script name.
|
|
/// </summary>
|
|
[RequiredMember] public string ClassName;
|
|
|
|
/// <summary>
|
|
/// Test method name.
|
|
/// </summary>
|
|
[RequiredMember] public string MethodName;
|
|
|
|
/// <summary>
|
|
/// Test version.
|
|
/// </summary>
|
|
[RequiredMember] public string Version;
|
|
|
|
/// <summary>
|
|
/// Categories.
|
|
/// </summary>
|
|
[RequiredMember] public List<string> Categories = new List<string>();
|
|
|
|
/// <summary>
|
|
/// Groups of performance samples.
|
|
/// </summary>
|
|
[RequiredMember] public List<SampleGroup> SampleGroups = new List<SampleGroup>();
|
|
}
|
|
} |