Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
testing_cli_argument_path ($moodlepath) | |
Returns relative path against current working directory, to be used for shell execution hints. | |
testing_cli_fix_directory_separator ($path) | |
Fix DIRECTORY_SEPARATOR for windows. | |
testing_error ($errorcode, $text='') | |
Prints an error and stops execution. | |
testing_fix_file_permissions ($file) | |
Try to change permissions to $CFG->dirroot or $CFG->dataroot if possible. | |
testing_initdataroot ($dataroot, $framework) | |
Mark empty dataroot to be used for testing. | |
testing_is_cygwin () | |
Find out if running under Cygwin on Windows. | |
testing_is_mingw () | |
Returns whether a mingw CLI is running. | |
testing_update_composer_dependencies (bool $selfupdate=true, bool $updatedependencies=true) | |
Perform necessary steps to install and/or upgrade composer and its dependencies. | |
Variables | |
const | TESTING_EXITCODE_COMPOSER 255 |
Testing general functions. | |