Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

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

(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().