|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Classes | |
| class | advanced_testcase |
| Advanced test case. More... | |
| class | basic_testcase |
| Basic test case. More... | |
| class | database_driver_testcase |
| Database driver test case. More... | |
| class | phpunit_constraint_object_is_equal_with_exceptions |
| Constraint that checks a simple object with an isEqual constrain, allowing for exceptions to be made for some fields. More... | |
| class | phpunit_coverage_info |
| Coverage information for the core_block subsystem. More... | |
| class | phpunit_event_mock |
| Event mock. More... | |
| class | phpunit_event_sink |
| Event sink. More... | |
| class | phpunit_message_sink |
| Message sink. More... | |
| class | phpunit_phpmailer_sink |
| phpmailer message sink. More... | |
| class | phpunit_util |
| Utility class. More... | |
Functions | |
| phpunit_bootstrap_error ($errorcode, $text='') | |
| Print error and stop execution. | |
Variables | |
| const | PHPUNIT_EXITCODE_CONFIGERROR 135 |
| const | PHPUNIT_EXITCODE_CONFIGWARNING 136 |
| const | PHPUNIT_EXITCODE_INSTALL 140 |
| const | PHPUNIT_EXITCODE_PHPUNITEXTMISSING 131 |
| const | PHPUNIT_EXITCODE_PHPUNITMISSING 129 |
| PHPUnit bootstrap function. | |
| const | PHPUNIT_EXITCODE_PHPUNITWRONG 130 |
| const | PHPUNIT_EXITCODE_REINSTALL 141 |
| phpunit_bootstrap_error | ( | $errorcode, | |
| $text = '' ) |
Print error and stop execution.
| int | $errorcode | The exit error code |
| string | $text | An error message to display |
| void | stops code execution with error code |
| const PHPUNIT_EXITCODE_PHPUNITMISSING 129 |
PHPUnit bootstrap function.
Note: these functions must be self contained and must not rely on any other library or include