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]

(no description)

File Size: 371 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: myprofile_test  - X-Ref

Unit tests for core_user\output\myprofile

test_node__construct()   X-Ref
Test node::__construct().


test_add_node()   X-Ref
Test category::node_add().


test_category__construct()   X-Ref
Test category::__construct().


test_validate_after_order1()   X-Ref
No description

test_validate_after_order2()   X-Ref
No description

test_find_nodes_after()   X-Ref
Test category::find_nodes_after().


test_sort_nodes1()   X-Ref
Test category::sort_nodes().


test_sort_nodes2()   X-Ref
Test category::sort_nodes() with a mix of content and non content nodes.


test_tree_add_node()   X-Ref
Test tree::add_node().


test_tree_add_category()   X-Ref
Test tree::add_category().


test_find_categories_after()   X-Ref
Test tree::find_categories_after().


test_sort_categories()   X-Ref
Test tree::sort_categories().