Inheritance
RuntimeGraphicsTestCaseProvider
 
public class RuntimeGraphicsTestCaseProvider : IGraphicsTestCaseProvider
 
Fields
  
Declaration
public static readonly string BaseRefImageLoadedMsg
 
Field Value
Declaration
public static readonly string ReferenceImagesBaseBundleName
 
Field Value
Declaration
public static readonly string ReferenceImagesBundlePrefix
 
Field Value
Declaration
public static readonly string RefImageLoadedMsg
 
Field Value
Properties
  
Declaration
public static AssetBundle BaseReferenceImagesBundle { get; set; }
 
Property Value
Declaration
public static AssetBundle ReferenceImagesBundle { get; set; }
 
Property Value
Methods
  
Declaration
public GraphicsTestCase GetTestCaseFromPath(string scenePath)
 
Parameters
| Type | Name | Description | 
| String | scenePath |  | 
Returns
Implements
Declaration
public GraphicsTestCase GetTestCaseFromPath(string scenePath, RenderPipelineAsset srpAsset)
 
Parameters
Returns
This method generates a list of GraphicsTestCases based on the scenes in the project.
For non-WebGL and non-Android platforms, this method also loads the ReferenceImages
and BaseReferenceImages AssetBundles synchronously, then uses them to associate reference
images with each test case.
For WebGL and Android platforms, this method does not load the AssetBundles or associate
reference images the test case, instead deferring these two steps to the user to perform
in the UnitySetUp using the EnsureGetReferenceImageBundlesAsync and in the test method using
AssociateReferenceImageWithTest.
Declaration
public IEnumerable<GraphicsTestCase> GetTestCases()
 
Returns
Implements