See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 39 and 401]
Skype icons filter phpunit tests
Copyright: | 2013 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 216 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
filter_test:: (7 methods):
test_filter_emoticon_filtered()
filter_emoticon_filtered_provider()
test_filter_emoticon()
filter_emoticon_provider()
get_converted_content_for_emoticon()
test_filter_invalidformat()
test_filter_emptyemoticons()
testable_filter_emoticon:: (1 method):
__construct()
Class: filter_test - X-Ref
Skype icons filter testcase.test_filter_emoticon_filtered(string $input, string $expectedprefix) X-Ref |
Test that filter ignores nolink/pre element, and processes remaining text param: string $input param: string $expectedprefix |
filter_emoticon_filtered_provider() X-Ref |
Data provider for {@see test_filter_emoticon_filtered} return: string[] |
test_filter_emoticon($input, $format, $expected) X-Ref |
Tests the filter doesn't affect nolink classes. |
filter_emoticon_provider() X-Ref |
The data provider for filter emoticon tests, containing input that is not expected to be filtered return: array |
get_converted_content_for_emoticon($text) X-Ref |
Translate the text for a single emoticon into the rendered value. param: string $text The text to translate. return: string |
test_filter_invalidformat() X-Ref |
Tests the filter doesn't break anything if activated but invalid format passed. |
test_filter_emptyemoticons() X-Ref |
Tests the filter doesn't break anything if activated but no emoticons available. |
Class: testable_filter_emoticon - X-Ref
Subclass for easier testing.__construct() X-Ref |
No description |