[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Events tests.

Copyright: 2013 Adrian Greeve <adrian@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 373 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

mod_choice_events_testcase:: (11 methods):
  setup()
  test_answer_submitted()
  test_answer_submitted_multiple()
  test_answer_submitted_other_exception()
  test_answer_updated()
  test_answer_updated_other_exception()
  test_answer_deleted()
  test_report_viewed()
  test_report_downloaded()
  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_answer_deleted()   X-Ref
Test to ensure that event data is being stored correctly.


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


test_report_downloaded()   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: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1