docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TestUtils

    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()

    Returns the test result folder path for the current test configuration.

    Declaration
    public static string GetCurrentTestResultsFolderPath()
    Returns
    Type Description
    string
    Remarks

    Combine this path with either the Reference Images root or Actual Images root to get the full path.

    GetTestResultsFolderPath(ColorSpace, RuntimePlatform, GraphicsDeviceType, string)

    Returns the test result folder path for the specified test configuration.

    Declaration
    public static string GetTestResultsFolderPath(ColorSpace colorSpace, RuntimePlatform runtimePlatform, GraphicsDeviceType graphicsApi, string xrsdk = "None")
    Parameters
    Type Name Description
    ColorSpace colorSpace

    The color space setting for the current test

    RuntimePlatform runtimePlatform

    The runtime platform setting for the current test

    GraphicsDeviceType graphicsApi

    The graphics API the current test is running

    string xrsdk

    The XR SDK for the current test

    Returns
    Type Description
    string
    Remarks

    Combine this path with either the Reference Images root or Actual Images root to get the full path.

    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)