[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/choice/tests/ -> events_test.php (summary)

Events tests.

Copyright: 2013 Adrian Greeve <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 291 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

mod_choice_events_testcase:: (9 methods):
  setup()
  test_answer_submitted()
  test_answer_submitted_multiple()
  test_answer_submitted_other_exception()
  test_answer_updated()
  test_answer_updated_other_exception()
  test_report_viewed()
  test_course_module_viewed()
  test_course_module_instance_list_viewed_viewed()


Class: mod_choice_events_testcase  - X-Ref

Events tests class.

setup()   X-Ref
Setup often used objects for the following tests.


test_answer_submitted()   X-Ref
Test to ensure that event data is being stored correctly.


test_answer_submitted_multiple()   X-Ref
Test to ensure that multiple choice data is being stored correctly.


test_answer_submitted_other_exception()   X-Ref
Test custom validations.


test_answer_updated()   X-Ref
Test to ensure that event data is being stored correctly.


test_answer_updated_other_exception()   X-Ref
Test custom validations
for answer_updated event.


test_report_viewed()   X-Ref
Test to ensure that event data is being stored correctly.


test_course_module_viewed()   X-Ref
Test to ensure that event data is being stored correctly.


test_course_module_instance_list_viewed_viewed()   X-Ref
Test to ensure that event data is being stored correctly.




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1