Class RequirePlatformSupportAttribute
The RequirePlatformSupportAttribute attribute can be applied to test assemblies (will affect every test in the assembly), fixtures (will
affect every test in the fixture), or to individual test methods.
Implements
IApplyToTest
Namespace: UnityEditor.TestTools
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method)]
public class RequirePlatformSupportAttribute : NUnitAttribute, IApplyToTest
Constructors
| Name | Description |
|---|---|
| RequirePlatformSupportAttribute(params BuildTarget[]) | Initializes and returns an instance of RequirePlatformSupportAttribute. |
Properties
| Name | Description |
|---|---|
| platforms | The build target platform, see BuildTarget. |