[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/forum/tests/ -> output_email_test.php (summary)

The module forums tests

Copyright: 2016 Andrew Nicols <andrew@nicols.co.uk>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 191 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

mod_forum_output_email_testcase:: (2 methods):
  postdate_provider()
  test_postdate()


Class: mod_forum_output_email_testcase  - X-Ref

Tests for the forum output/email class.

postdate_provider()   X-Ref
Data provider for the postdate function tests.


test_postdate($globalconfig, $forumconfig, $postconfig, $discussionconfig, $expectation)   X-Ref
Test for the forum email renderable postdate.

param: array  $globalconfig      The configuration to set on $CFG
param: array  $forumconfig       The configuration for this forum
param: array  $postconfig        The configuration for this post
param: array  $discussionconfig  The configuration for this discussion
param: string $expectation       The expected date



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