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.

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.