VR4Medical/ICI/Library/PackageCache/com.unity.test-framework.performance@92d1d09a72ed/Editor/TestResultXmlParser.cs
2025-07-29 13:45:50 +03:00

23 lines
753 B
C#

using System;
using Unity.PerformanceTesting.Data;
using UnityEngine;
namespace Unity.PerformanceTesting.Editor
{
/// <summary>
/// Helper class to parse test runs into performance test runs.
/// </summary>
public class TestResultXmlParser
{
/// <summary>
/// Parses performance test run from test run result xml.
/// </summary>
/// <param name="resultXmlFileName">Path to test results xml file.</param>
/// <returns>Performance test run data extracted from the NUnit xml results file.</returns>
public Run GetPerformanceTestRunFromXml(string resultXmlFileName)
{
return TestResultsParser.GetPerformanceTestRunDataFromXmlFile(resultXmlFileName);
}
}
}