Interface IGraphicsTestCaseProvider | Graphics Tests Framework | 7.7.1-preview
docs.unity3d.com
    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
    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>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023