#include <executetests.h>
Interface to manually or automatically execute test.
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (ExecuteTestsInterface, MAXON_REFERENCE_NONE, "net.sdktools.interfaces.executetests") | |
|
private |
|
static |
Not yet implemented.
|
static |
Not yet implemented.
|
static |
Loads the tests from the given file and starts execution. param[in] testfile The testfile to load. param[in] testfolder The folder to operate in. param[in] finished Delegate that will be called when the auto-execution finished. param[in] error Delegate that will be called when an error occurred. param[in] line Delegate that will be called when a new order is executed.
|
static |
Returns the status.
|
static |
Pauses auto-execution.
|
static |
Returns the status.
|
static |
Continues paused auto-execution.
|
static |
Stops auto-execution and frees all internal data.
|
static |
Analyzes the given txt file and searches for functions, commands, etc.
[in] | execFolder | The folder to resolve relative commands. |
[in] | testfile | txt file to analyze. |
[in] | recursive | Set to true to also check referenced txt files. |
[out] | functions | List of found function IDs. |
[out] | commands | List of found command IDs. |
[out] | classicCommands | List of found classic command IDs. |
[out] | pyScripts | List of found Python-Scripts. |
|
static |
Returns the working folder for Python scripts.
|
static |
Checks if the given ID or script file name is blocking. Blocking commands are defined in a file registered with the command line argument g_sdktools_blocking.
[in] | ID | The ID of a function or command or a Python script file. |
[in] | contains | Set to false if the function should check for equality. Set to true if it should check if the ID is containd in the IDs. |