Class CliArgumentsCheck
Inheritance
CliArgumentsCheck
Assembly: UnityEditor.TestTools.Graphics.dll
public static class CliArgumentsCheck
Methods
Throw an error if multiples of the same type of CLI argument for forcing the Editor graphics API were passed.
Declaration
public static List<string> CheckForConflictingEditorCliArgs(List<string> cliArguments)
Parameters
Returns
Throw an error if multiple CLI argument for forcing different Player graphics APIs were passed.
Declaration
public static List<string> CheckForConflictingPlayerCliArgs(List<string> cliArguments, List<string> testSettings)
Parameters
Returns
Read the commandline arguments passed to the Editor, and if the argument is meant to run tests with a certain graphics API, confirm that this API was correctly switched to.
In case of failure to do so, throw an error.
Declaration
public static void CheckGfxApiAgainstArguments(List<string> cliArguments, List<string> testSettings = null, GraphicsDeviceType? currentEditorGfxApi = null, GraphicsDeviceType? currentPlayerSettingsGfxApi = null)
Parameters
Declaration
public static List<GraphicsApiArguments> GetForceGfxApiArguments()
Returns
Declaration
public static List<GraphicsApiArguments> GetGraphicsTestFrameworkArguments()
Returns