[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

The module forums tests

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

Defines 1 class

mod_forum_lib_testcase:: (15 methods):
  setUp()
  tearDown()
  test_forum_trigger_content_uploaded_event()
  test_forum_get_courses_user_posted_in()
  test_forum_tp_can_track_forums()
  test_forum_tp_is_tracked()
  test_forum_tp_get_course_unread_posts()
  test_forum_tp_get_untracked_forums()
  test_forum_auto_subscribe_on_create()
  test_forum_forced_subscribe_on_create()
  test_forum_optional_subscribe_on_create()
  test_forum_disallow_subscribe_on_create()
  test_forum_get_context()
  test_forum_get_neighbours()
  test_forum_get_neighbours_with_groups()


Class: mod_forum_lib_testcase  - X-Ref

setUp()   X-Ref
No description

tearDown()   X-Ref
No description

test_forum_trigger_content_uploaded_event()   X-Ref
No description

test_forum_get_courses_user_posted_in()   X-Ref
No description

test_forum_tp_can_track_forums()   X-Ref
Test the logic in the forum_tp_can_track_forums() function.


test_forum_tp_is_tracked()   X-Ref
Test the logic in the test_forum_tp_is_tracked() function.


test_forum_tp_get_course_unread_posts()   X-Ref
Test the logic in the forum_tp_get_course_unread_posts() function.


test_forum_tp_get_untracked_forums()   X-Ref
Test the logic in the test_forum_tp_get_untracked_forums() function.


test_forum_auto_subscribe_on_create()   X-Ref
Test subscription using automatic subscription on create.


test_forum_forced_subscribe_on_create()   X-Ref
Test subscription using forced subscription on create.


test_forum_optional_subscribe_on_create()   X-Ref
Test subscription using optional subscription on create.


test_forum_disallow_subscribe_on_create()   X-Ref
Test subscription using disallow subscription on create.


test_forum_get_context()   X-Ref
Test that context fetching returns the appropriate context.


test_forum_get_neighbours()   X-Ref
Test getting the neighbour threads of a discussion.


test_forum_get_neighbours_with_groups()   X-Ref
Test getting the neighbour threads of a discussion.




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1