[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/tests/ -> messagelib_test.php (summary)

Tests for messagelib.php.

Copyright: 2012 The Open Universtiy
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 883 lines (39 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_messagelib_testcase:: (9 methods):
  test_message_provider_disabled()
  test_message_get_providers_for_user()
  test_message_get_providers_for_user_more()
  test_send_message_redirection()
  test_send_message()
  test_rollback()
  test_forced_rollback()
  test_message_attachment_send()
  message_type_present()


Class: core_messagelib_testcase  - X-Ref

test_message_provider_disabled()   X-Ref
No description

test_message_get_providers_for_user()   X-Ref
No description

test_message_get_providers_for_user_more()   X-Ref
No description

test_send_message_redirection()   X-Ref
No description

test_send_message()   X-Ref
No description

test_rollback()   X-Ref
No description

test_forced_rollback()   X-Ref
No description

test_message_attachment_send()   X-Ref
No description

message_type_present($component, $name, $providers)   X-Ref
Is a particular message type in the list of message types.

param: string $component
param: string $name a message name.
param: array $providers as returned by message_get_providers_for_user.
return: bool whether the message type is present.



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