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: 404 lines (19 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 backup/util/structure/tests/fixtures/structure_fixtures.php

Defines 1 class

basenestedelement_test:: (4 methods):
  test_creation()
  test_wrong_creation()
  test_tree()
  test_wrong_tree()


Class: basenestedelement_test  - X-Ref

Unit test case the base_nested_element class.

Note: highly imbricated with base_final_element class

test_creation()   X-Ref
Correct creation tests (attributes and final elements)


test_wrong_creation()   X-Ref
Incorrect creation tests (attributes and final elements)


test_tree()   X-Ref
Correct tree tests (children stuff)


test_wrong_tree()   X-Ref
Incorrect tree tests (children stuff)