mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-19579 code coverage - finished adding initial $includecoverage attributes
This commit is contained in:
parent
583011c1f2
commit
81d18ad5c4
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user