Differences Between: [Versions 311 and 402] [Versions 400 and 402] [Versions 401 and 402]
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: | 373 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
events_test:: (11 methods):
setUp()
test_attempt_deleted_event()
test_interactions_viewed_event_validations()
test_tracks_viewed_event_validations()
test_user_report_viewed_event_validations()
get_scoreraw_submitted_event_provider()
get_scoreraw_submitted_event_validations()
test_scoreraw_submitted_event_validations()
get_status_submitted_event_provider()
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_interactions_viewed_event_validations() X-Ref |
Tests for interactions viewed validations. |
test_tracks_viewed_event_validations() X-Ref |
Tests for tracks viewed event validations. |
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(). |
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(). |
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 |