Class RequirePlatformSupportAttribute
The RequirePlatformSupportAttribute
attribute can be applied to test assemblies (affects every test in the assembly), fixtures (affects every test in the fixture), or to individual test methods. Tests under the scope of this attrbitue require Player build support for the specified platforms in order to run.
구현
네임스페이스: UnityEditor.TestTools
어셈블리: solution.dll
구문
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method)]
public class RequirePlatformSupportAttribute : NUnitAttribute, IApplyToTest
생성자
이름 | 설명 |
---|---|
RequirePlatformSupportAttribute(params BuildTarget[]) | Initializes and returns an instance of RequirePlatformSupportAttribute. |
프로퍼티
이름 | 설명 |
---|---|
platforms | The build target platform, see BuildTarget. |