Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]
Unit tests for /lib/externallib.php.
Copyright: | 2009 Petr Skoda {@link http://skodak.org} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 694 lines (30 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_externallib_testcase:: (21 methods):
setUp()
tearDown()
test_external_settings()
test_validate_params()
test_external_format_text()
test_external_format_string()
test_clean_returnvalue_return_php_type()
test_clean_returnvalue()
test_get_context_from_params()
test_get_context_params()
test_get_context_params2()
test_get_context_params3()
all_external_info_provider()
test_all_external_info()
test_validate_courses()
test_validate_courses_keepfails()
test_validate_courses_prefetch()
test_call_external_function()
test_external_util_get_area_files()
test_external_files()
test_user_created_tokens_duration()
test_exernal_api:: (1 method):
get_context_wrapper()
Class: core_externallib_testcase - X-Ref
setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
test_external_settings() X-Ref |
Tests for external_settings class. |
test_validate_params() X-Ref |
No description |
test_external_format_text() X-Ref |
No description |
test_external_format_string() X-Ref |
No description |
test_clean_returnvalue_return_php_type() X-Ref |
Test for clean_returnvalue() for testing that returns the PHP type. |
test_clean_returnvalue() X-Ref |
Test for clean_returnvalue(). |
test_get_context_from_params() X-Ref |
No description |
test_get_context_params() X-Ref |
No description |
test_get_context_params2() X-Ref |
No description |
test_get_context_params3() X-Ref |
No description |
all_external_info_provider() X-Ref |
No description |
test_all_external_info($f) X-Ref |
test_validate_courses() X-Ref |
No description |
test_validate_courses_keepfails() X-Ref |
Validate courses, but still return courses even if they fail validation. |
test_validate_courses_prefetch() X-Ref |
Validate courses can re-use an array of prefetched courses. |
test_call_external_function() X-Ref |
No description |
test_external_util_get_area_files() X-Ref |
Text external_util::get_area_files |
test_external_files() X-Ref |
Text external files structure. |
test_user_created_tokens_duration() X-Ref |
Test default time for user created tokens. |
Class: test_exernal_api - X-Ref
get_context_wrapper($params) X-Ref |
No description |