Differences Between: [Versions 310 and 311] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
(no description)
File Size: | 523 lines (20 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
setuplib_test:: (19 methods):
test_get_docs_url_standard()
test_get_docs_url_http()
test_get_docs_url_https()
test_get_docs_url_wwwroot()
test_exception_info_removes_serverpaths()
test_localcachedir()
test_make_unique_directory_basedir_is_file()
test_make_unique_directory()
test_get_request_storage_directory()
test_make_request_directory()
test_merge_query_params()
test_get_exception_info_link()
get_exception_info()
data_for_test_get_real_size()
test_get_real_size()
is_valid_uuid_v4()
test_core_uuid_generate_uuid_via_pecl_uuid_extension()
test_core_uuid_generate_uuid_via_random_bytes()
test_core_uuid_generate()
Class: setuplib_test - X-Ref
Unit tests for setuplib.phptest_get_docs_url_standard() X-Ref |
Test get_docs_url_standard in the normal case when we should link to Moodle docs. |
test_get_docs_url_http() X-Ref |
Test get_docs_url_standard in the special case of an absolute HTTP URL. |
test_get_docs_url_https() X-Ref |
Test get_docs_url_standard in the special case of an absolute HTTPS URL. |
test_get_docs_url_wwwroot() X-Ref |
Test get_docs_url_standard in the special case of a link relative to wwwroot. |
test_exception_info_removes_serverpaths() X-Ref |
Test if get_exception_info() removes file system paths. |
test_localcachedir() X-Ref |
No description |
test_make_unique_directory_basedir_is_file() X-Ref |
No description |
test_make_unique_directory() X-Ref |
No description |
test_get_request_storage_directory() X-Ref |
No description |
test_make_request_directory() X-Ref |
No description |
test_merge_query_params() X-Ref |
No description |
test_get_exception_info_link() X-Ref |
Test the link processed by get_exception_info(). |
get_exception_info($ex) X-Ref |
Wrapper to call {@link get_exception_info()}. param: Exception $ex An exception. return: stdClass of information. |
data_for_test_get_real_size() X-Ref |
Data provider for test_get_real_size(). return: array An array of arrays contain test data |
test_get_real_size($input, $expectedbytes) X-Ref |
Test the get_real_size() function. param: string $input the input for get_real_size() param: int $expectedbytes the expected bytes |
is_valid_uuid_v4($value) X-Ref |
Validate the given V4 UUID. param: string $value The candidate V4 UUID return: bool True if valid; otherwise, false. |
test_core_uuid_generate_uuid_via_pecl_uuid_extension() X-Ref |
Test the \core\uuid::generate_uuid_via_pecl_uuid_extension() function. |
test_core_uuid_generate_uuid_via_random_bytes() X-Ref |
Test the \core\uuid::generate_uuid_via_random_bytes() function. |
test_core_uuid_generate() X-Ref |
Test the \core\uuid::generate() function. |