playtest-unity/playtest/Library/PackageCache/com.unity.testtools.codecov.../Editor/Events/SessionEventInfo.cs

27 lines
819 B
C#
Raw Permalink Normal View History

2023-06-19 23:21:21 -04:00
using System.Collections.Generic;
namespace UnityEditor.TestTools.CodeCoverage
{
/// <summary>
/// The code coverage session information retuned by the coverage session <see cref="Events"/>.
/// </summary>
public class SessionEventInfo
{
/// <summary>
/// The code coverage session mode.
/// </summary>
public SessionMode SessionMode { get; internal set; }
/// <summary>
/// The coverage results paths of the files or folders created during the code coverage session.
/// </summary>
public List<string> SessionResultPaths { get; internal set; }
internal SessionEventInfo(SessionMode mode, List<string> resultPaths)
{
SessionMode = mode;
SessionResultPaths = resultPaths;
}
}
}