docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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>
    In This Article
    Back to top
    Copyright © 2024 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)