docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IGraphicsTestCaseCollector

    Interface for Graphics Test Case Collectors

    Namespace: UnityEngine.TestTools.Graphics
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    public interface IGraphicsTestCaseCollector

    Properties

    TestCaseCount

    How many test cases the collector has stored so far.

    Declaration
    int TestCaseCount { get; }
    Property Value
    Type Description
    int

    Methods

    GetAllSetupActions()

    All the setup actions the collector has stored

    Declaration
    IEnumerable<SetupAction> GetAllSetupActions()
    Returns
    Type Description
    IEnumerable<SetupAction>

    An IEnumerable of all the setup actions.

    GetAllTestCases()

    All the test cases the collector has stored.

    Declaration
    IEnumerable<GraphicsTestCase> GetAllTestCases()
    Returns
    Type Description
    IEnumerable<GraphicsTestCase>

    An IEnumerable of all the test cases.

    GetAllTestCasesFromTestList(IEnumerable<ITest>)

    Finds all matching test cases based on a list of ITest objects. GetTestCase(ITest)

    Declaration
    IList<GraphicsTestCase> GetAllTestCasesFromTestList(IEnumerable<ITest> testList)
    Parameters
    Type Name Description
    IEnumerable<ITest> testList

    The list of tests to match.

    Returns
    Type Description
    IList<GraphicsTestCase>

    The list of test cases found.

    GetTestCase(ITest)

    Finds a test case based on a matching ITest object

    Declaration
    GraphicsTestCase GetTestCase(ITest test)
    Parameters
    Type Name Description
    ITest test

    The ITest object to match

    Returns
    Type Description
    GraphicsTestCase

    The matching Graphics Test Case, or null if not found.

    GetTestCaseByName(string)

    Finds a test case by its full name.

    Declaration
    GraphicsTestCase GetTestCaseByName(string fullName)
    Parameters
    Type Name Description
    string fullName

    The full name (including assembly, class, etc.) of the test case.

    Returns
    Type Description
    GraphicsTestCase

    The matching Graphics Test Case, or null if not found.

    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)