Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]
(no description)
File Size: | 637 lines (32 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
processor_test:: (17 methods):
setUp()
test_simple_migration()
test_remove_when_missing()
test_allowed_courses()
test_disallowed_courses()
test_course_start_date_from()
test_destination_competency_exists()
test_destination_competency_exists_remove_original()
test_permission_exception()
assertCourseCompetencyExists()
assertCourseCompetencyNotExists()
assertCourseCompetencyMigrated()
assertCourseCompetencyNotMigrated()
assertModuleCompetencyExists()
assertModuleCompetencyNotExists()
assertModuleCompetencyMigrated()
assertModuleCompetencyNotMigrated()
Class: processor_test - X-Ref
Framework processor testcase.setUp() X-Ref |
This sets up a few things, and assign class variables. We create 2 frameworks, each with 2 matching competencies and 1 foreign. Then we create 2 courses, and in each 1 CM. Then we attach some competencies from the first framework to courses and CM. |
test_simple_migration() X-Ref |
No description |
test_remove_when_missing() X-Ref |
No description |
test_allowed_courses() X-Ref |
No description |
test_disallowed_courses() X-Ref |
No description |
test_course_start_date_from() X-Ref |
No description |
test_destination_competency_exists() X-Ref |
No description |
test_destination_competency_exists_remove_original() X-Ref |
No description |
test_permission_exception() X-Ref |
No description |
assertCourseCompetencyExists($course, $competency) X-Ref |
Assert that the course competency exists. param: \stdClass $course The course. param: competency $competency The competency. |
assertCourseCompetencyNotExists($course, $competency) X-Ref |
Assert that the course competency does not exist. param: \stdClass $course The course. param: competency $competency The competency. |
assertCourseCompetencyMigrated($course, $compfrom, $compto) X-Ref |
Assert that the course competency was migrated. param: \stdClass $course The course. param: competency $compfrom The competency from. param: competency $compto The competency to. |
assertCourseCompetencyNotMigrated($course, $compfrom, $compto) X-Ref |
Assert that the course competency was not migrated. param: \stdClass $course The course. param: competency $compfrom The competency from. param: competency $compto The competency to. |
assertModuleCompetencyExists($cm, $competency) X-Ref |
Assert that the course module competency exists. param: \stdClass $cm The CM. param: competency $competency The competency. |
assertModuleCompetencyNotExists($cm, $competency) X-Ref |
Assert that the course module competency does not exist. param: \stdClass $cm The CM. param: competency $competency The competency. |
assertModuleCompetencyMigrated($cm, $compfrom, $compto) X-Ref |
Assert that the course module competency was migrated. param: \stdClass $cm The CM. param: competency $compfrom The competency from. param: competency $compto The competency to. |
assertModuleCompetencyNotMigrated($cm, $compfrom, $compto) X-Ref |
Assert that the course module competency was not migrated. param: \stdClass $cm The CM. param: competency $compfrom The competency from. param: competency $compto The competency to. |