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.

Course global search unit tests.

Copyright: 2016 Devang Gaur {@link http://www.devanggaur.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 244 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

search_test:: (6 methods):
  setUp()
  test_users_indexing()
  test_users_document()
  test_users_access()
  test_get_doc_icon()
  test_get_category_names()


Class: search_test  - X-Ref

Provides the unit tests for course global search.

setUp()   X-Ref


test_users_indexing()   X-Ref
Indexing users contents.

return: void

test_users_document()   X-Ref
Document contents.

return: void

test_users_access()   X-Ref
Document accesses.

return: void

test_get_doc_icon()   X-Ref
Test document icon.


test_get_category_names()   X-Ref
Test assigned search categories.