Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

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.