Class TestUtils
Utility class for graphics test nodes.
Inherited Members
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.