docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ManagementTestSetup

    Inheritance
    object
    ManagementTestSetup
    LoaderTestSetup<L, S>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.XR.TestTooling
    Assembly: Unity.XR.TestSupport.dll
    Syntax
    public abstract class ManagementTestSetup

    Fields

    buildTargetSettings

    Declaration
    protected XRGeneralSettingsPerBuildTarget buildTargetSettings
    Field Value
    Type Description
    XRGeneralSettingsPerBuildTarget

    s_TempSettingsPath

    Declaration
    protected static readonly string[] s_TempSettingsPath
    Field Value
    Type Description
    string[]

    s_TestGeneralSettings

    Declaration
    protected static readonly string[] s_TestGeneralSettings
    Field Value
    Type Description
    string[]

    testManager

    Declaration
    protected XRManagerSettings testManager
    Field Value
    Type Description
    XRManagerSettings

    testPathToGeneralSettings

    Declaration
    protected string testPathToGeneralSettings
    Field Value
    Type Description
    string

    testPathToSettings

    Declaration
    protected string testPathToSettings
    Field Value
    Type Description
    string

    xrGeneralSettings

    Declaration
    protected XRGeneralSettings xrGeneralSettings
    Field Value
    Type Description
    XRGeneralSettings

    Properties

    TestManagerUpgradePath

    When true, AssetDatabase.AddObjectToAsset will not be called to add XRManagerSettings to XRGeneralSettings.

    Declaration
    protected virtual bool TestManagerUpgradePath { get; }
    Property Value
    Type Description
    bool

    Methods

    GetAssetPathForComponents(string[], string)

    Declaration
    public static string GetAssetPathForComponents(string[] pathComponents, string root = "Assets")
    Parameters
    Type Name Description
    string[] pathComponents
    string root
    Returns
    Type Description
    string

    SetupTest()

    Declaration
    public virtual void SetupTest()

    TearDownTest()

    Declaration
    public virtual void TearDownTest()
    In This Article
    Back to top
    Copyright © 2025 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)