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

PreservedValuesAttribute.cs 738B

1234567891011121314151617181920212223
  1. using NUnit.Framework;
  2. using UnityEngine.Scripting;
  3. namespace UnityEngine.TestTools
  4. {
  5. /// <summary>
  6. /// Like the ValuesAttribute it is used to provide literal arguments for
  7. /// an individual parameter of a test. It has the Preserve attribute added,
  8. /// allowing it to persist in players build at a high stripping level.
  9. /// </summary>
  10. [Preserve]
  11. public class PreservedValuesAttribute : ValuesAttribute
  12. {
  13. /// <summary>
  14. /// Construct the values attribute with a set of arguments.
  15. /// </summary>
  16. /// <param name="args">The set of arguments for the test parameter.</param>
  17. public PreservedValuesAttribute(params object[] args) : base(args)
  18. {
  19. }
  20. }
  21. }