docs.unity3d.com
    Show / Hide Table of Contents

    Class TestUtils

    Inheritance
    Object
    TestUtils
    Namespace: UnityEngine.TestTools.Graphics
    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.

    Back to top
    Terms of use
    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