| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Unit tests for lib/modinfolib.php.
| Copyright: | 2012 Andrew Davis |
| File Size: | 919 lines (45 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
core_modinfolib_testcase:: (11 methods):
test_section_info_properties()
test_cm_info_properties()
test_matching_cacherev()
test_course_modinfo_properties()
test_is_user_access_restricted_by_capability()
test_cm_info_get_course_module_record()
test_availability_property()
test_get_groups()
test_create()
test_get_course_and_cm_from_cmid()
test_get_course_and_cm_from_instance()
Class: core_modinfolib_testcase - X-Ref
Unit tests for modinfolib.php| test_section_info_properties() X-Ref |
| No description |
| test_cm_info_properties() X-Ref |
| No description |
| test_matching_cacherev() X-Ref |
| No description |
| test_course_modinfo_properties() X-Ref |
| No description |
| test_is_user_access_restricted_by_capability() X-Ref |
| No description |
| test_cm_info_get_course_module_record() X-Ref |
| Tests for function cm_info::get_course_module_record() |
| test_availability_property() X-Ref |
| Tests the availability property that has been added to course modules and sections (just to see that it is correctly saved and accessed). |
| test_get_groups() X-Ref |
| Tests for get_groups() method. |
| test_create() X-Ref |
| Tests the function for constructing a cm_info from mixed data. |
| test_get_course_and_cm_from_cmid() X-Ref |
| Tests function for getting $course and $cm at once quickly from modinfo based on cmid or cm record. |
| test_get_course_and_cm_from_instance() X-Ref |
| Tests function for getting $course and $cm at once quickly from modinfo based on instance id or record. |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |