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: | 271 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
weblib_format_text_test:: (14 methods):
test_format_text_format_html()
test_format_text_format_html_no_filters()
test_format_text_format_plain()
test_format_text_format_plain_no_filters()
test_format_text_format_markdown()
test_format_text_format_markdown_nofilter()
test_format_text_format_moodle()
test_format_text_format_moodle_no_filters()
test_format_text_nolink()
test_format_text_overflowdiv()
test_format_text_blanktarget()
format_text_blanktarget_testcases()
test_format_text_cleaning()
format_text_cleaning_testcases()
Class: weblib_format_text_test - X-Ref
Unit tests for format_text defined in weblib.php.test_format_text_format_html() X-Ref |
No description |
test_format_text_format_html_no_filters() X-Ref |
No description |
test_format_text_format_plain() X-Ref |
No description |
test_format_text_format_plain_no_filters() X-Ref |
No description |
test_format_text_format_markdown() X-Ref |
No description |
test_format_text_format_markdown_nofilter() X-Ref |
No description |
test_format_text_format_moodle() X-Ref |
No description |
test_format_text_format_moodle_no_filters() X-Ref |
No description |
test_format_text_nolink() X-Ref |
Make sure that nolink tags and spans prevent linking in filters that support it. |
test_format_text_overflowdiv() X-Ref |
No description |
test_format_text_blanktarget($link, $expected) X-Ref |
Test adding blank target attribute to links param: string $link The link to add target="_blank" to param: string $expected The expected filter value |
format_text_blanktarget_testcases() X-Ref |
Data provider for the test_format_text_blanktarget testcase return: array of testcases |
test_format_text_cleaning($input, $nocleaned, $cleaned) X-Ref |
Test ability to force cleaning of otherwise non-cleaned content. param: string $input Input text param: string $nocleaned Expected output of format_text() with noclean=true param: string $cleaned Expected output of format_text() with noclean=false |
format_text_cleaning_testcases() X-Ref |
Data provider for the test_format_text_cleaning testcase return: array of testcases (string)testcasename => [(string)input, (string)nocleaned, (string)cleaned] |