MDL-19579 code coverage - add more initial $includecoverage attributes

This commit is contained in:
stronk7 2009-06-26 17:49:15 +00:00
parent d47cf63dec
commit 081a63a9eb
18 changed files with 33 additions and 1 deletions

View file

@ -39,6 +39,7 @@ require_once($CFG->libdir . '/blocklib.php');
/** Test-specific subclass to make some protected things public. */
class testable_block_manager extends block_manager {
public function mark_loaded() {
$this->birecordsbyregion = array();
}
@ -58,6 +59,7 @@ class block_ablocktype extends block_base {
* Test functions that don't need to touch the database.
*/
class moodle_block_manager_test extends UnitTestCase {
public static $includecoverage = array('lib/pagelib.php', 'lib/blocklib.php');
protected $testpage;
protected $blockmanager;