You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
using System; |
|
using NUnit.Framework.Interfaces; |
|
using UnityEditor.TestTools.TestRunner.Api; |
|
using UnityEngine; |
|
|
|
namespace UnityEditor.TestTools.TestRunner.TestRun |
|
{ |
|
[Serializable] |
|
internal class TestJobData |
|
{ |
|
[SerializeField] |
|
public string guid; |
|
|
|
[SerializeField] |
|
public string startTime; |
|
|
|
[SerializeField] |
|
public int taskIndex; |
|
|
|
[SerializeField] |
|
public int taskPC; |
|
|
|
[SerializeField] |
|
public bool isRunning; |
|
|
|
[SerializeField] |
|
public ExecutionSettings executionSettings; |
|
|
|
[SerializeField] |
|
public string[] existingFiles; |
|
|
|
[SerializeField] |
|
public int undoGroup = -1; |
|
|
|
[SerializeField] |
|
public EditModeRunner editModeRunner; |
|
|
|
[NonSerialized] |
|
public bool isHandledByRunner; |
|
|
|
public ITest testTree; |
|
|
|
public TestJobData(ExecutionSettings settings) |
|
{ |
|
guid = Guid.NewGuid().ToString(); |
|
executionSettings = settings; |
|
isRunning = false; |
|
taskIndex = 0; |
|
taskPC = 0; |
|
startTime = DateTime.Now.ToString("o"); |
|
} |
|
} |
|
}
|
|
|