(no description)
File Size: | 94 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
area_test_base:: (3 methods):
array_from_recordset()
assert_area_in_recordset()
assert_area_in_array()
Class: area_test_base - X-Ref
Class area_test_base provides some utility functions that can be used by testing.array_from_recordset(\moodle_recordset $rs) X-Ref |
Create and return an array from a recordset. Recordset is destroyed. param: \moodle_recordset $rs return: array |
assert_area_in_recordset(\moodle_recordset $areasrs, string $component, int $contextid, int $itemid,?int $courseid, ?int $categoryid) X-Ref |
Test for specified component information present in area recordset. Recordset cannot be reused. param: \moodle_recordset $areasrs param: string $component param: int $contextid param: int $itemid param: int|null $courseid param: int|null $categoryid return: void |
assert_area_in_array(array $areas, string $component, int $contextid, int $itemid,?int $courseid, ?int $categoryid) X-Ref |
Test for specified component information present in area array. param: array $areas param: string $component param: int $contextid param: int $itemid param: int|null $courseid param: int|null $categoryid return: void |