Class PreservedValuesAttribute
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.
Namespace: UnityEngine.TestTools
Syntax
[Preserve]
public class PreservedValuesAttribute : ValuesAttribute
Constructors
PreservedValuesAttribute(Object[])
Construct the values attribute with a set of arguments.
Declaration
public PreservedValuesAttribute(params object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Object[] | args | The set of arguments for the test parameter. |