[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Tests for class coursecat from lib/coursecatlib.php
Copyright: | 2013 Marina Glancy |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 757 lines (40 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_coursecatlib_testcase:: (16 methods):
setUp()
get_roleid()
assign_capability()
test_create_coursecat()
test_name_idnumber_exceptions()
test_visibility()
test_hierarchy()
test_update()
test_delete()
test_get_children()
test_count_all()
test_resort_courses()
test_get_search_courses()
test_course_contacts()
test_overview_files()
fill_draft_area()
Class: core_coursecatlib_testcase - X-Ref
Functional test for coursecatlib.phpsetUp() X-Ref |
No description |
get_roleid($context = null) X-Ref |
No description |
assign_capability($capability, $permission = CAP_ALLOW, $contextid = null) X-Ref |
No description |
test_create_coursecat() X-Ref |
No description |
test_name_idnumber_exceptions() X-Ref |
No description |
test_visibility() X-Ref |
No description |
test_hierarchy() X-Ref |
No description |
test_update() X-Ref |
No description |
test_delete() X-Ref |
No description |
test_get_children() X-Ref |
No description |
test_count_all() X-Ref |
Test the countall function |
test_resort_courses() X-Ref |
Test a categories ability to resort courses. |
test_get_search_courses() X-Ref |
No description |
test_course_contacts() X-Ref |
No description |
test_overview_files() X-Ref |
No description |
fill_draft_area(array $files) X-Ref |
Creates a draft area for current user and fills it with fake files param: array $files array of files that need to be added to filearea, filename => filecontents return: int draftid for the filearea |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |