[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/lib/filebrowser/tests/ -> file_browser_test.php (summary)

Unit tests for file browser

Copyright: 2017 Marina Glancy
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 268 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

file_browser_testcase:: (9 methods):
  setUp()
  test_file_info_context_system()
  test_file_info_context_system_hidden()
  test_file_info_context_coursecat()
  test_file_info_context_coursecat_jpg()
  test_file_info_context_course_1()
  test_file_info_context_course_2()
  test_file_info_context_module_1()
  test_file_info_context_module_2()


Class: file_browser_testcase  - X-Ref

Unit tests for file browser

setUp()   X-Ref
Set up


test_file_info_context_system()   X-Ref
Test "Server files" from the system context


test_file_info_context_system_hidden()   X-Ref
Test "Server files" from the system context, hide Misc category


test_file_info_context_coursecat()   X-Ref
Test "Server files" from the course category context


test_file_info_context_coursecat_jpg()   X-Ref
Test "Server files" from the course category context, only look for .jpg


test_file_info_context_course_1()   X-Ref
Test "Server files" from the course context (course1)


test_file_info_context_course_2()   X-Ref
Test "Server files" from the course context (course1)


test_file_info_context_module_1()   X-Ref
Test "Server files" from the course context (module1)


test_file_info_context_module_2()   X-Ref
Test "Server files" from the course context (module1)




Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1