UnityGame/Library/PackageCache/com.unity.test-framework/UnityEditor.TestRunner/TestRun/Tasks/CleanUpContext.cs

17 lines
400 B
C#
Raw Normal View History

2024-10-27 10:53:47 +03:00
using System;
using System.Collections;
using NUnit.Framework;
namespace UnityEditor.TestTools.TestRunner.TestRun.Tasks
{
internal class CleanUpContext : TestTaskBase
{
public override IEnumerator Execute(TestJobData testJobData)
{
testJobData.Context = null;
TestContext.CurrentTestExecutionContext = null;
yield break;
}
}
}