Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

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

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