A game about forced loneliness, made by TACStudios
1using NUnit.Framework;
2using NUnit.Framework.Interfaces;
3using NUnit.Framework.Internal.Commands;
4using System;
5
6namespace UnityEngine.TestTools
7{
8 [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
9 public class ParametrizedIgnoreAttribute : NUnitAttribute, IWrapTestMethod
10 {
11 public object[] Arguments { get; }
12 public string Reason { get; set; }
13
14 public ParametrizedIgnoreAttribute(params object[] Arguments)
15 {
16 this.Arguments = Arguments;
17 }
18
19 public TestCommand Wrap(TestCommand command)
20 {
21 return new ParametrizedIgnoreCommand(command, Arguments, Reason);
22 }
23 }
24}