Search moodle.org's
Developer Documentation

See Release Notes

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

(no description)

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

Defines 1 class


Class: context_helper_test  - X-Ref

Unit tests for context helper class.

NOTE: more tests are in lib/tests/accesslib_test.php

test_parse_external_level()   X-Ref
Tests covered method.


test_resolve_behat_reference()   X-Ref
Tests covered method.


test_get_class_for_level()   X-Ref
Tests covered method.


test_get_all_levels()   X-Ref
Tests covered method.


test_get_child_levels()   X-Ref
Tests covered method.


test_get_compatible_levels()   X-Ref
Tests covered method.


test_cleanup_instances()   X-Ref
Tests covered method.


test_create_instances()   X-Ref
Tests covered method.


test_build_all_paths()   X-Ref
Tests covered method.


test_reset_caches()   X-Ref
Tests covered method.


test_get_preload_record_columns()   X-Ref
Tests covered method.


test_get_preload_record_columns_sql()   X-Ref
Tests covered method.


test_preload_from_record()   X-Ref
Tests covered method.


test_preload_contexts_by_id()   X-Ref
Tests covered method.


test_preload_course()   X-Ref
Tests covered method.


test_delete_instance()   X-Ref
Tests covered method.


test_get_level_name()   X-Ref
Tests covered method.


test_get_navigation_filter_context()   X-Ref
Tests covered method.