MDL-72701 core: Improve code coverage for core
This commit is contained in:
@@ -33,8 +33,10 @@ require_once($CFG->libdir . '/outputlib.php');
|
||||
*
|
||||
* @copyright 2012 Sam Hemelryk
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @covers \theme_config
|
||||
* @coversDefaultClass \theme_config
|
||||
*/
|
||||
class core_theme_config_testcase extends advanced_testcase {
|
||||
class theme_config_test extends advanced_testcase {
|
||||
/**
|
||||
* This function will test directives used to serve SVG images to make sure
|
||||
* this are making the right decisions.
|
||||
@@ -129,6 +131,8 @@ class core_theme_config_testcase extends advanced_testcase {
|
||||
|
||||
/**
|
||||
* This function will test custom device detection regular expression setting.
|
||||
*
|
||||
* @covers \core_useragent
|
||||
*/
|
||||
public function test_devicedetectregex() {
|
||||
global $CFG;
|
||||
@@ -216,6 +220,8 @@ class core_theme_config_testcase extends advanced_testcase {
|
||||
|
||||
/**
|
||||
* Test that {@see theme_config::get_all_block_regions()} returns localised list of region names.
|
||||
*
|
||||
* @covers ::get_all_block_regions
|
||||
*/
|
||||
public function test_get_all_block_regions() {
|
||||
$this->resetAfterTest();
|
||||
|
||||
Reference in New Issue
Block a user