Class TestRunnerWindow
The TestRunnerWindow class is repsonsible for drawing the Test Runner window.
Implements
Inherited Members
EditorWindow.focusedWindowChanged
EditorWindow.GetWindow<T>()
EditorWindow.HasOpenInstances<T>()
EditorWindow.FocusWindowIfItsOpen<T>()
EditorWindow.GetWindowWithRect<T>(Rect)
EditorWindow.depthBufferBits
EditorWindow.antiAlias
EditorWindow.windowFocusChanged
Object.MemberwiseClone()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Namespace: UnityEditor.TestTools.TestRunner
Assembly: UnityEditor.TestRunner.dll
Syntax
[Serializable]
public class TestRunnerWindow : EditorWindow, IHasCustomMenu
Methods
AddItemsToMenu(GenericMenu)
Adds additional menu items to the Test Runner window.
Declaration
public void AddItemsToMenu(GenericMenu menu)
Parameters
| Type | Name | Description |
|---|---|---|
| GenericMenu | menu | The GenericMenu |
CallDelayed(Action, double)
Delays a call, and returns an opaque id to cancel the call.
Declaration
public object CallDelayed(Action action, double delay)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | action | The action to invoke after the delay. |
| double | delay | The delay in seconds before the action is invoked. |
Returns
| Type | Description |
|---|---|
| object | An opaque identifier that can be passed to CancelDelayedCall(object) to cancel the pending call. |
CancelDelayedCall(object)
Cancels a delayed call previously scheduled with CallDelayed(Action, double).
Declaration
public void CancelDelayedCall(object id)
Parameters
| Type | Name | Description |
|---|---|---|
| object | id | The opaque identifier returned by CallDelayed(Action, double). |
ShowWindow()
Launches the Test Runner window.
Declaration
public static void ShowWindow()