Interface IGraphicsTestCaseProvider
Describes an object that can provide GraphicsTestCase objects. THe framework provides different implementations for the Editor (which loads reference images directly from the Asset Database) and Players (which use the pre-built AssetBundle).
Namespace: UnityEngine.TestTools.Graphics
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
public interface IGraphicsTestCaseProvider
Methods
GetTestCaseFromPath(string)
Retrieve a single test case from scene path.
Declaration
GraphicsTestCase GetTestCaseFromPath(string scenePath)
Parameters
Type | Name | Description |
---|---|---|
string | scenePath |
Returns
Type | Description |
---|---|
GraphicsTestCase |
GetTestCases()
Retrieve the list of test cases to generate tests for.
Declaration
IEnumerable<GraphicsTestCase> GetTestCases()
Returns
Type | Description |
---|---|
IEnumerable<GraphicsTestCase> |