[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
IMS Enterprise enrolment tests.
Copyright: | 2012 David Monllaó |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 372 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
enrol_imsenterprise_testcase:: (11 methods):
setUp()
test_emptyfile()
test_users_existing()
test_users_add()
test_courses_existing()
test_courses_add()
test_course_add_default_category()
test_courses_attrmapping()
set_test_config()
set_xml_file()
test_imsenterprise_cron_task()
Class: enrol_imsenterprise_testcase - X-Ref
IMS Enterprise test casesetUp() X-Ref |
Setup required for all tests. |
test_emptyfile() X-Ref |
With an empty IMS enterprise file |
test_users_existing() X-Ref |
Existing users are not created again |
test_users_add() X-Ref |
Add new users |
test_courses_existing() X-Ref |
Existing courses are not created again |
test_courses_add() X-Ref |
Add new courses |
test_course_add_default_category() X-Ref |
Add new course without a category. |
test_courses_attrmapping() X-Ref |
Course attributes mapping to IMS enterprise group description tags |
set_test_config() X-Ref |
Sets the plugin configuration for testing |
set_xml_file($users = false, $courses = false) X-Ref |
Creates an IMS enterprise XML file and adds it's path to config settings. param: bool|array $users false or array of users StdClass param: bool|array $courses false or of courses StdClass |
test_imsenterprise_cron_task() X-Ref |
IMS Enterprise enrolment task test. |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |