| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Unit tests for the HTMLPurifier integration
| Copyright: | 2012 Petr Skoda {@link http://skodak.org} |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 434 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
core_htmlpurifier_testcase:: (15 methods):
test_allow_blank_target()
test_nolink()
test_tex()
test_algebra()
test_multilang()
test_format_text_allowid()
test_allowobjectembed()
test_line_breaking()
test_tidy()
test_nested_lists()
test_cleaning_nastiness()
test_is_purify_html_necessary()
test_allowed_schemes()
test_media_tags()
media_tags_provider()
Class: core_htmlpurifier_testcase - X-Ref
HTMLPurifier test case| test_allow_blank_target() X-Ref |
| Verify _blank target is allowed. |
| test_nolink() X-Ref |
| Verify our nolink tag accepted. |
| test_tex() X-Ref |
| Verify our tex tag accepted. |
| test_algebra() X-Ref |
| Verify our algebra tag accepted. |
| test_multilang() X-Ref |
| Verify our hacky multilang works. |
| test_format_text_allowid() X-Ref |
| Tests the 'allowid' option for format_text. |
| test_allowobjectembed() X-Ref |
| No description |
| test_line_breaking() X-Ref |
| Test if linebreaks kept unchanged. |
| test_tidy() X-Ref |
| Test fixing of strict problems. |
| test_nested_lists() X-Ref |
| Test nesting - this used to cause problems in earlier versions. |
| test_cleaning_nastiness() X-Ref |
| Test that XSS protection works, complete smoke tests are in htmlpurifier itself. |
| test_is_purify_html_necessary() X-Ref |
| Test internal function used for clean_text() speedup. |
| test_allowed_schemes() X-Ref |
| No description |
| test_media_tags($mediatag, $expected) X-Ref |
| Tests media tags. param: string $mediatag HTML media tag param: string $expected expected result |
| media_tags_provider() X-Ref |
| Test cases for the test_media_tags test. |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |