diff --git a/portfolio/type/boxnet/simpletest/testportfoliopluginboxnet.php b/portfolio/type/boxnet/simpletest/testportfoliopluginboxnet.php index b9116dbbd51..ac03f95c882 100644 --- a/portfolio/type/boxnet/simpletest/testportfoliopluginboxnet.php +++ b/portfolio/type/boxnet/simpletest/testportfoliopluginboxnet.php @@ -7,6 +7,7 @@ Mock::generate('boxclient', 'mock_boxclient'); Mock::generatePartial('portfolio_plugin_boxnet', 'mock_boxnetplugin', array('ensure_ticket', 'ensure_account_tree')); class testPortfolioPluginBoxnet extends portfoliolib_test { + public static $includecoverage = array('lib/portfoliolib.php', 'portfolio/type/boxnet/lib.php'); public function setUp() { global $DB; diff --git a/portfolio/type/download/simpletest/testportfolioplugindownload.php b/portfolio/type/download/simpletest/testportfolioplugindownload.php index c020e73ed55..094edc2489b 100755 --- a/portfolio/type/download/simpletest/testportfolioplugindownload.php +++ b/portfolio/type/download/simpletest/testportfolioplugindownload.php @@ -7,6 +7,7 @@ Mock::generatePartial('portfolio_plugin_download', 'mock_downloadplugin', array( class testPortfolioPluginDownload extends portfoliolib_test { + public static $includecoverage = array('lib/portfoliolib.php', 'portfolio/type/download/lib.php'); public function setUp() { parent::setUp(); $this->plugin = &new mock_boxnetplugin($this); diff --git a/question/type/numerical/simpletest/testquestiontype.php b/question/type/numerical/simpletest/testquestiontype.php index 4bd9275fff2..c60fd200ca4 100644 --- a/question/type/numerical/simpletest/testquestiontype.php +++ b/question/type/numerical/simpletest/testquestiontype.php @@ -15,6 +15,7 @@ if (!defined('MOODLE_INTERNAL')) { require_once($CFG->dirroot . '/question/type/numerical/questiontype.php'); class question_numerical_qtype_test extends UnitTestCase { + public static $includecoverage = array('question/type/questiontype.php', 'question/type/numerical/questiontype.php'); var $tolerance = 0.00000001; var $qtype; diff --git a/question/type/shortanswer/simpletest/testquestiontype.php b/question/type/shortanswer/simpletest/testquestiontype.php index bde47f7ec72..523819975d3 100644 --- a/question/type/shortanswer/simpletest/testquestiontype.php +++ b/question/type/shortanswer/simpletest/testquestiontype.php @@ -15,6 +15,7 @@ if (!defined('MOODLE_INTERNAL')) { require_once($CFG->dirroot . '/question/type/questiontype.php'); class question_shortanswer_qtype_test extends UnitTestCase { + public static $includecoverage = array('question/type/questiontype.php', 'question/type/shortanswer/questiontype.php'); var $qtype; function setUp() { diff --git a/question/type/simpletest/testquestiontype.php b/question/type/simpletest/testquestiontype.php index 5a8bf4aedf6..7a9be84d68f 100644 --- a/question/type/simpletest/testquestiontype.php +++ b/question/type/simpletest/testquestiontype.php @@ -37,6 +37,7 @@ if (!defined('MOODLE_INTERNAL')) { require_once($CFG->dirroot . '/question/type/questiontype.php'); class default_questiontype_test extends UnitTestCase { + public static $includecoverage = array('question/type/questiontype.php'); protected $qtype; public function setUp() {