docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TestUtils

    Utility class for graphics test nodes.

    Inheritance
    object
    TestUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.TestTools.Graphics
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    public static class TestUtils

    Methods

    GetCurrentTestResultsFolderPath()

    Gets the current test results folder path. This method is obsolete and will be removed in a future version. Use GraphicsTestPlatform.Current.ResultsPath instead.

    Declaration
    [Obsolete("Use GraphicsTestPlatform.Current.ResultsPath instead.")]
    public static string GetCurrentTestResultsFolderPath()
    Returns
    Type Description
    string

    The current test results folder path.

    GetTestResultsFolderPath(ColorSpace, RuntimePlatform, GraphicsDeviceType, string)

    Gets the test results folder path for a given graphics test platform.

    Declaration
    [Obsolete("Use GraphicsTestPlatform instead.", true)]
    public static string GetTestResultsFolderPath(ColorSpace colorSpace, RuntimePlatform runtimePlatform, GraphicsDeviceType graphicsApi, string xrsdk = "None")
    Parameters
    Type Name Description
    ColorSpace colorSpace

    The color space used for the test.

    RuntimePlatform runtimePlatform

    The runtime platform used for the test.

    GraphicsDeviceType graphicsApi

    The graphics API used for the test.

    string xrsdk

    The XR SDK used for the test.

    Returns
    Type Description
    string

    The test results folder path for the given graphics test platform.

    Remarks

    This method is obsolete and will be removed in a future version. Use Current instead.

    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)