arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.test-framework@038a2b0cacd2/UnityEngine.TestRunner/NUnitExtensions/Attributes/PreservedValuesAttribute.cs

24 lines
738 B
C#
Raw Normal View History

2025-09-25 22:01:28 +02:00
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)
{
}
}
}