See Release Notes
Long Term Support Release
Tests for the core_rtlcss class. The core_rtlcss class extends \MoodleHQ\RTLCSS\RTLCSS library which depends on sabberworm/php-css-parser library. This test verifies that css parsing works as expected should any of the above change.
Copyright: | 2019 Jake Dallimore <jrhdallimore@gmail.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 1266 lines (58 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
rtlcss_test:: (22 methods):
background_image_provider()
background_position_provider()
background_provider()
directives_provider()
properties_provider()
special_provider()
transform_origin_provider()
transforms_provider()
values_nsyntax_provider()
values_provider()
assert_flips()
assert_sample()
test_background_image()
test_background_position()
test_background()
test_directives()
test_properties()
test_special()
test_transform_origin()
test_transforms()
test_values_nsyntax()
test_values()
Class: rtlcss_test - X-Ref
Class rtlcss_test.background_image_provider() X-Ref |
Data provider. return: array |
background_position_provider() X-Ref |
Data provider. return: array |
background_provider() X-Ref |
Data provider. return: array |
directives_provider() X-Ref |
Data provider. return: array |
properties_provider() X-Ref |
Data provider. return: array |
special_provider() X-Ref |
Data provider. return: array |
transform_origin_provider() X-Ref |
Data provider. return: array |
transforms_provider() X-Ref |
Data provider. return: array |
values_nsyntax_provider() X-Ref |
Data provider. return: array |
values_provider() X-Ref |
Data provider. return: array |
assert_flips($expected, $input, $description, $output = null) X-Ref |
Assert that the provided data flips. param: string $expected The expected output. param: string $input The input. param: string $description The description of the assertion. param: OutputFormat $output The output format to use. |
assert_sample($data, $output = null) X-Ref |
Assert data. param: array $data With the keys: 'input', 'expected', 'reversable', 'should', and 'skip'. param: OutputFormat $output The output format to use. |
test_background_image($data) X-Ref |
Test background images. param: array $data the provider data. |
test_background_position($data) X-Ref |
Test background position. param: array $data the provider data. |
test_background($data) X-Ref |
Test background. param: array $data the provider data. |
test_directives($data) X-Ref |
Test directives. param: array $data the provider data. |
test_properties($data) X-Ref |
Test properties. param: array $data the provider data. |
test_special($data) X-Ref |
Test special. param: array $data the provider data. |
test_transform_origin($data) X-Ref |
Test transform original. param: array $data the provider data. |
test_transforms($data) X-Ref |
Test transform. param: array $data the provider data. |
test_values_nsyntax($data) X-Ref |
Test values n-syntax. param: array $data the provider data. |
test_values($data) X-Ref |
Test values. param: array $data the provider data. |