Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.
/lib/phpunit/classes/
FolderUp one level  
Fileadvanced_testcase.php                          [source] [740 lines]   Advanced test case.
Filebase_testcase.php                              [source] [573 lines]   Base test case class.
Filebasic_testcase.php                             [source] [86 lines]    Basic test case.
Fileconstraint_object_is_equal_with_exceptions.php [source] [110 lines]   Constraint that checks a simple object with an isEqual constrain, allowing for exceptions to be made for some fields.
Filecoverage_info.php                              [source] [99 lines]    
Filedatabase_driver_testcase.php                   [source] [227 lines]   Database driver test case.
Fileevent_mock.php                                 [source] [57 lines]    Event mock.
Fileevent_sink.php                                 [source] [87 lines]    Event sink.
Filemessage_sink.php                               [source] [85 lines]    Message sink.
Filephpmailer_sink.php                             [source] [87 lines]    phpmailer message sink.
Filephpunit_dataset.php                            [source] [371 lines]   Handle simple PHP/CSV/XML datasets to be use with ease by unit tests. This is a very minimal class, able to load data from PHP arrays and CSV/XML files, optionally uploading them to database.
Filerestore_date_testcase.php                      [source] [163 lines]   Restore dates test case.
Fileutil.php                                       [source] [1025 lines]  Utility class.