Class SceneGraphicsTestCase
Represents one automatically-generated graphics test case that uses a scene.
Inherited Members
Namespace: UnityEngine.TestTools.Graphics
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
[Serializable]
public record SceneGraphicsTestCase : GraphicsTestCase, IEquatable<GraphicsTestCase>, IEquatable<SceneGraphicsTestCase>
Constructors
SceneGraphicsTestCase()
Creates a new instance of the SceneGraphicsTestCase class.
Declaration
public SceneGraphicsTestCase()
SceneGraphicsTestCase(string, IMethodInfo, ITest, string)
Creates a new instance of the SceneGraphicsTestCase class.
Declaration
public SceneGraphicsTestCase(string name, IMethodInfo methodInfo, ITest suite, string scenePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the test case. Note that this is not the full name and may not be unique. |
| IMethodInfo | methodInfo | The method info for the test case. |
| ITest | suite | The suite this test case belongs to. |
| string | scenePath | The path to the scene that this test case uses. |
Properties
ScenePath
The path to the scene that this test case uses.
Declaration
public string ScenePath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ToString()
Returns a string representation of the test case. This includes the name, scene path, reference image, and ignore reason.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string representation of the test case. |