docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SceneGraphicsTestCase

    Represents one automatically-generated graphics test case that uses a scene.

    Inheritance
    object
    GraphicsTestCase
    SceneGraphicsTestCase
    Implements
    IEquatable<GraphicsTestCase>
    IEquatable<SceneGraphicsTestCase>
    Inherited Members
    GraphicsTestCase.Name
    GraphicsTestCase.FileName
    GraphicsTestCase.FullName
    GraphicsTestCase.ReferenceImageDescriptor
    GraphicsTestCase.AdditionalReferenceImages
    GraphicsTestCase.MethodInfo
    GraphicsTestCase.Fixture
    GraphicsTestCase.ReferenceImage
    GraphicsTestCase.ShouldBeIgnored
    GraphicsTestCase.IgnoreReason
    GraphicsTestCase.IgnoreData
    GraphicsTestCase.TestData
    GraphicsTestCase.ReferenceImagePathLog
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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.

    Overrides
    GraphicsTestCase.ToString()

    Implements

    IEquatable<T>
    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)