See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 401 and 403]
Tests the theme config class.
Copyright: | 2012 Sam Hemelryk |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later (5) |
File Size: | 234 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
theme_config_test:: (6 methods):
test_svg_image_use()
test_devicedetectregex()
test_editor_css_url_has_revision_and_subrevision()
test_editor_scss_to_css_root_theme()
test_editor_scss_to_css_child_theme()
test_get_all_block_regions()
Class: theme_config_test - X-Ref
Tests the theme config class.test_svg_image_use() X-Ref |
This function will test directives used to serve SVG images to make sure this are making the right decisions. |
test_devicedetectregex() X-Ref |
This function will test custom device detection regular expression setting. |
test_editor_css_url_has_revision_and_subrevision() X-Ref |
Confirm that the editor_css_url contains the theme revision and the theme subrevision if not in theme designer mode. |
test_editor_scss_to_css_root_theme() X-Ref |
Confirm that editor_scss_to_css is correctly compiling for themes with no parent. |
test_editor_scss_to_css_child_theme() X-Ref |
Confirm that editor_scss_to_css is compiling for a child theme not overriding its parent's editor SCSS. |
test_get_all_block_regions() X-Ref |
Test that {@see theme_config::get_all_block_regions()} returns localised list of region names. |