Auto-test helpers
These helpers are used by integration tests under Utilities/TestRunner2.0/Tests/. CheckIfAllMediaFileInputsArePlaying is documented under Input helpers.
| Function | Returns | Description |
|---|---|---|
SetAutoTestCompleted() |
void |
Called from test scripts to signal that the autotest has completed successfully. The autotest timer will detect this flag and terminate immediately on the next tick, bypassing the remaining duration countdown. |
SetAutoTestDuration(seconds) |
void |
Called from test scripts to dynamically adjust the autotest duration at runtime. Also recalculates the absolute kill deadline to 3x the new duration from now. The minimum allowed duration is 2 seconds. |
GetAutoTestDuration() |
int |
Returns the current autotest duration in seconds. This reflects the value set by the -a command-line flag or by a prior call to SetAutoTestDuration. |