You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
522 B
C#

using System;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Commands;
using Unity.Profiling;
namespace UnityEngine.TestTools
{
internal class UnityTestMethodCommand : TestMethodCommand
{
public UnityTestMethodCommand(TestMethod testMethod)
: base(testMethod) { }
public override TestResult Execute(ITestExecutionContext context)
{
using (new ProfilerMarker(Test.FullName).Auto())
return base.Execute(context);
}
}
}