Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.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.