Marks a test which takes GraphicsTestCase instances as wanting to have them generated automatically by
the scene/reference-image management feature in the framework.
Inheritance
UseGraphicsTestCasesAttribute
 
Inherited Members
UnityEngine.TestTools.UnityTestAttribute.ApplyToTest(NUnit.Framework.Internal.Test)
 
public class UseGraphicsTestCasesAttribute : UnityTestAttribute, ISimpleTestBuilder, IImplyFixture, ITestBuilder, IApplyToTest, ITestBuilder
 
Constructors
  
Declaration
public UseGraphicsTestCasesAttribute()
 
Declaration
public UseGraphicsTestCasesAttribute(string referenceImagePath)
 
Parameters
| Type | Name | Description | 
| String | referenceImagePath |  | 
Properties
  
Declaration
public static ColorSpace ColorSpace { get; }
 
Property Value
Declaration
public static GraphicsDeviceType GraphicsDevice { get; }
 
Property Value
Declaration
public static string LoadedXRDevice { get; }
 
Property Value
Declaration
public static RuntimePlatform Platform { get; }
 
Property Value
The IGraphicsTestCaseProvider which will be used to generate the GraphicsTestCase instances for the tests.
Declaration
public IGraphicsTestCaseProvider Provider { get; }
 
Property Value
Methods
  
Declaration
public static GraphicsTestCase GetCaseFromScenePath(string scenePath, string referenceImagePath = null)
 
Parameters
| Type | Name | Description | 
| String | scenePath |  | 
| String | referenceImagePath |  | 
Returns