UnityGame/Library/PackageCache/com.unity.test-framework.performance/Runtime/Data/PerformanceTestResult.cs
2024-10-27 10:53:47 +03:00

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>();
}
}