Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 39 and 311]

Unit tests for blog

Copyright: 2009 Nicolas Connault
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 288 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: lib_test  - X-Ref

Test functions that rely on the DB tables

setUp()   X-Ref
No description

test_overrides()   X-Ref
No description

test_blog_get_headers_case_1()   X-Ref
No description

test_blog_get_headers_case_6()   X-Ref
No description

test_blog_get_headers_case_7()   X-Ref
No description

test_blog_get_headers_case_10()   X-Ref
No description

test_core_blog_myprofile_navigation()   X-Ref
Tests the core_blog_myprofile_navigation() function.


test_core_blog_myprofile_navigation_as_guest()   X-Ref
Tests the core_blog_myprofile_navigation() function as a guest.


test_core_blog_myprofile_navigation_blogs_disabled()   X-Ref
Tests the core_blog_myprofile_navigation() function when blogs are disabled.


test_blog_get_listing_course()   X-Ref
No description

test_blog_get_listing_module()   X-Ref
No description