Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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