BBB Library tests class.
Author: | Laurent David (laurent@call-learning.fr) |
Copyright: | 2018 - present, Blindside Networks Inc |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 240 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Class: files_test - X-Ref
BBB Library tests class.test_pluginfile_valid() X-Ref |
Plugin valid test case |
test_pluginfile_file() X-Ref |
Plugin file test case |
test_default_presentation_get_file() X-Ref |
Get presentation file |
test_presentation_file_accessible_twice() X-Ref |
Test that file is accessible only once. |
test_presentation_file_not_accessible_externally() X-Ref |
Test that file is accessible only once. |
test_pluginfile_filename() X-Ref |
Get filename test |
test_get_media_file() X-Ref |
Get media files |
create_user_and_activity($presentationpath = null, $closed = false) X-Ref |
Create a user and an activity param: string|null $presentationpath param: bool $closed return: array |
create_sample_file($filename, $contextid) X-Ref |
Helper to create sample file for tests param: string $filename param: int $contextid return: stored_file |