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.
Inherited Members
Namespace: UnityEditor .TestTools
Assembly: UnityEditor.TestRunner.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method)]
public class RequirePlatformSupportAttribute : NUnitAttribute, _Attribute, IApplyToTest
Constructors
RequirePlatformSupportAttribute(params BuildTarget[])
Initializes and returns an instance of RequirePlatformSupportAttribute.
Declaration
public RequirePlatformSupportAttribute(params BuildTarget[] platforms)
Parameters
Type | Name | Description |
---|---|---|
Build |
platforms | The Build |
Properties
platforms
The build target platform, see BuildTarget.
Declaration
public BuildTarget[] platforms { get; }
Property Value
Type | Description |
---|---|
Build |
The Build |