See Release Notes
Long Term Support Release
Differences Between: [Versions 311 and 401] [Versions 401 and 402] [Versions 401 and 403]
This file contains tests for scorm events.
Copyright: | 2013 onwards Ankit Agarwal |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 638 lines (28 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
events_test:: (20 methods):
setUp()
test_attempt_deleted_event()
test_course_module_viewed_event()
test_course_module_instance_list_viewed_event()
test_interactions_viewed_event()
test_interactions_viewed_event_validations()
test_report_viewed_event()
test_sco_launched_event()
test_tracks_viewed_event()
test_tracks_viewed_event_validations()
test_user_report_viewed_event()
test_user_report_viewed_event_validations()
get_scoreraw_submitted_event_provider()
test_scoreraw_submitted_event()
get_scoreraw_submitted_event_validations()
test_scoreraw_submitted_event_validations()
get_status_submitted_event_provider()
test_status_submitted_event()
get_status_submitted_event_validations()
test_status_submitted_event_validations()
Class: events_test - X-Ref
Test class for various events related to Scorm.setUp() X-Ref |
No description |
test_attempt_deleted_event() X-Ref |
Tests for attempt deleted event |
test_course_module_viewed_event() X-Ref |
Tests for course module viewed event. There is no api involved so the best we can do is test legacy data by triggering event manually. |
test_course_module_instance_list_viewed_event() X-Ref |
Tests for instance list viewed event. There is no api involved so the best we can do is test legacy data by triggering event manually. |
test_interactions_viewed_event() X-Ref |
Tests for interactions viewed. There is no api involved so the best we can do is test legacy data by triggering event manually and test validations. |
test_interactions_viewed_event_validations() X-Ref |
Tests for interactions viewed validations. |
test_report_viewed_event() X-Ref |
No description |
test_sco_launched_event() X-Ref |
No description |
test_tracks_viewed_event() X-Ref |
Tests for tracks viewed event. There is no api involved so the best we can do is test validations by triggering event manually. |
test_tracks_viewed_event_validations() X-Ref |
Tests for tracks viewed event validations. |
test_user_report_viewed_event() X-Ref |
Tests for userreport viewed event. There is no api involved so the best we can do is test validations and legacy log by triggering event manually. |
test_user_report_viewed_event_validations() X-Ref |
Tests for userreport viewed event validations. |
get_scoreraw_submitted_event_provider() X-Ref |
dataProvider for test_scoreraw_submitted_event(). |
test_scoreraw_submitted_event($cmielement, $cmivalue) X-Ref |
Tests for score submitted event. There is no api involved so the best we can do is test data by triggering event manually. param: string $cmielement a valid CMI raw score element param: string $cmivalue a valid CMI raw score value |
get_scoreraw_submitted_event_validations() X-Ref |
dataProvider for test_scoreraw_submitted_event_validations(). |
test_scoreraw_submitted_event_validations($cmielement, $cmivalue, $failmessage, $excmessage) X-Ref |
Tests for score submitted event validations. param: string $cmielement a valid CMI raw score element param: string $cmivalue a valid CMI raw score value param: string $failmessage the message used to fail the test in case of missing to violate a validation rule param: string $excmessage the exception message when violating the validations rules |
get_status_submitted_event_provider() X-Ref |
dataProvider for test_status_submitted_event(). |
test_status_submitted_event($cmielement, $cmivalue) X-Ref |
Tests for status submitted event. There is no api involved so the best we can do is test data by triggering event manually. param: string $cmielement a valid CMI status element param: string $cmivalue a valid CMI status value |
get_status_submitted_event_validations() X-Ref |
dataProvider for test_status_submitted_event_validations(). |
test_status_submitted_event_validations($cmielement, $cmivalue, $failmessage, $excmessage) X-Ref |
Tests for status submitted event validations. param: string $cmielement a valid CMI status element param: string $cmivalue a valid CMI status value param: string $failmessage the message used to fail the test in case of missing to violate a validation rule param: string $excmessage the exception message when violating the validations rules |