![]() |
Able
Askowl Base Library Enabler
|
PlayModeController wrapper with asserts More...
Public Member Functions | |
| IEnumerator | IsDisplayingInUi (string path, bool visible=true, int repeats=300) |
| IsDisplayingInUI, assert if not visible/invisible as expected after nn frames More... | |
Public Member Functions inherited from Askowl.PlayModeController | |
| bool | IsDisplayingInUi (RectTransform transform) |
| See if component is visible on the UI display/screen More... | |
Protected Member Functions | |
| override IEnumerator | LoadScene (string sceneName) |
| Load scene. Assert on failure Load a scene by name (must be in build) More... | |
| IEnumerator | PushButton (string path) |
| Push button, assert if it can't be found More... | |
Static Protected Member Functions | |
| static T | Component< T > (string path) |
| Components.Find, assert on failure More... | |
| static GameObject | FindGameObject (string name) |
| FindObject{GameObject} shortcut More... | |
| static T | FindObject< T > (string name) |
| Objects.Find, assert if none found More... | |
| static void | CheckPattern (Regex regex, string against) |
| Check string against regex, assert if no match More... | |
| static void | Fail (string message) |
| //#TBD#// More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Askowl.PlayModeController | |
| static void | AddSceneToBuildSettings (string path) |
| //#TBD#// More... | |
| static IEnumerator | PushButton (Button button) |
| Push a GUI button More... | |
Protected Attributes inherited from Askowl.PlayModeController | |
| Scene | Scene |
| More... | |
PlayModeController wrapper with asserts
Definition at line 15 of file PlayModeTests.cs.
|
staticprotected |
Check string against regex, assert if no match
Definition at line 63 of file PlayModeTests.cs.
|
staticprotected |
Components.Find, assert on failure
| T | : | Component |
Definition at line 30 of file PlayModeTests.cs.
|
staticprotected |
|
staticprotected |
Objects.Find, assert if none found
| T | : | Object |
Definition at line 40 of file PlayModeTests.cs.
| IEnumerator Askowl.PlayModeTests.IsDisplayingInUi | ( | string | path, |
| bool | visible = true, |
||
| int | repeats = 300 |
||
| ) |
IsDisplayingInUI, assert if not visible/invisible as expected after nn frames
Definition at line 47 of file PlayModeTests.cs.
|
protectedvirtual |
Load scene. Assert on failure Load a scene by name (must be in build)
Reimplemented from Askowl.PlayModeController.
Definition at line 24 of file PlayModeTests.cs.
|
protected |
Push button, assert if it can't be found
Definition at line 58 of file PlayModeTests.cs.