untangle-puzzlegame/Library/PackageCache/com.unity.test-framework@5ac417e07314/UnityEngine.TestRunner/NUnitExtensions/Attributes/PreservedValuesAttribute.cs
2025-04-17 17:33:08 -04:00

24 lines
738 B
C#

using NUnit.Framework;
using UnityEngine.Scripting;
namespace UnityEngine.TestTools
{
/// <summary>
/// Like the ValuesAttribute it is used to provide literal arguments for
/// an individual parameter of a test. It has the Preserve attribute added,
/// allowing it to persist in players build at a high stripping level.
/// </summary>
[Preserve]
public class PreservedValuesAttribute : ValuesAttribute
{
/// <summary>
/// Construct the values attribute with a set of arguments.
/// </summary>
/// <param name="args">The set of arguments for the test parameter.</param>
public PreservedValuesAttribute(params object[] args) : base(args)
{
}
}
}