Class SceneGraphicsTestCaseSource
A built-in implementation of the GraphicsTestCaseSource class. This class is used to create a graphics test case from a scene path.
Inherited Members
Namespace: UnityEngine.TestTools.Graphics.TestCases
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
public class SceneGraphicsTestCaseSource : GraphicsTestCaseSource
Methods
GetTestCases(IMethodInfo, ITest)
Gets the test cases for the specified method. This method is used to create a graphics test case.
Declaration
public override IEnumerable<GraphicsTestCase> GetTestCases(IMethodInfo methodInfo, ITest suite)
Parameters
| Type | Name | Description |
|---|---|---|
| IMethodInfo | methodInfo | The method info for the test case. |
| ITest | suite | The suite this test case belongs to. |
Returns
| Type | Description |
|---|---|
| IEnumerable<GraphicsTestCase> | An enumerable collection of graphics test cases. |