| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Behat basic functions It does not include MOODLE_INTERNAL because is part of the bootstrap
| Copyright: | 2012 David Monllaó |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 301 lines (11 kb) |
| Included or required: | 7 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file lib/testing/lib.php |
| behat_error($errorcode, $text = '') X-Ref |
| Exits with an error code param: mixed $errorcode param: string $text return: void Stops execution with error code |
| behat_error_handler($errno, $errstr, $errfile, $errline, $errcontext) X-Ref |
| PHP errors handler to use when running behat tests. Adds specific CSS classes to identify the messages. param: int $errno param: string $errstr param: string $errfile param: int $errline param: array $errcontext return: bool |
| behat_clean_init_config() X-Ref |
| Restrict the config.php settings allowed. When running the behat features the config.php settings should not affect the results. return: void |
| behat_check_config_vars() X-Ref |
| Checks that the behat config vars are properly set. return: void Stops execution with error code if something goes wrong. |
| behat_is_test_site() X-Ref |
| Should we switch to the test site data? return: bool |
| behat_is_requested_url($url) X-Ref |
| Checks if the URL requested by the user matches the provided argument param: string $url return: bool Returns true if it matches. |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |