[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/assign/submission/onlinetext/tests/ -> events_test.php (summary)

Contains the event tests for the plugin.

Copyright: 2013 Frédéric Massart
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 153 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

assignsubmission_onlinetext_events_testcase:: (4 methods):
  setUp()
  test_assessable_uploaded()
  test_submission_created()
  test_submission_updated()


Class: assignsubmission_onlinetext_events_testcase  - X-Ref

setUp()   X-Ref
Setup all the various parts of an assignment activity including creating an onlinetext submission.


test_assessable_uploaded()   X-Ref
Test that the assessable_uploaded event is fired when an online text submission is saved.


test_submission_created()   X-Ref
Test that the submission_created event is fired when an onlinetext submission is saved.


test_submission_updated()   X-Ref
Test that the submission_updated event is fired when an onlinetext
submission is saved and an existing submission already exists.




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1