[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Events tests.
Copyright: | 2014 Mark Nelson <markn@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 307 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_message_events_testcase:: (8 methods):
setUp()
test_message_contact_added()
test_message_contact_removed()
test_message_contact_blocked()
test_message_contact_unblocked()
test_message_sent()
test_message_viewed()
test_message_deleted()
Class: core_message_events_testcase - X-Ref
setUp() X-Ref |
Test set up. This is executed before running any test in this file. |
test_message_contact_added() X-Ref |
Test the message contact added event. |
test_message_contact_removed() X-Ref |
Test the message contact removed event. |
test_message_contact_blocked() X-Ref |
Test the message contact blocked event. |
test_message_contact_unblocked() X-Ref |
Test the message contact unblocked event. |
test_message_sent() X-Ref |
Test the message sent event. We can not use the message_send() function in the unit test to check that the event was fired as there is a conditional check to ensure a fake message is sent during unit tests when calling that particular function. |
test_message_viewed() X-Ref |
Test the message viewed event. |
test_message_deleted() X-Ref |
Test the message deleted event. |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |