MDL-37517 testing: remove deprecated classes

This commit is contained in:
Dan Poltawski
2013-12-05 12:05:10 +08:00
parent 9b37cd72a2
commit dfe84ffb52
4 changed files with 0 additions and 103 deletions
-21
View File
@@ -741,24 +741,3 @@ EOD;
}
}
/**
* Deprecated in favour of testing_data_generator
*
* @deprecated since Moodle 2.5 MDL-37457 - please do not use this function any more.
* @todo MDL-37517 This will be deleted in Moodle 2.7
* @see testing_data_generator
* @package core
* @category test
* @copyright 2012 David Monllaó
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class phpunit_data_generator extends testing_data_generator {
/**
* Dumb constructor to throw the deprecated notification
*/
public function __construct() {
debugging('Class phpunit_data_generator is deprecated, please use class testing_module_generator instead', DEBUG_DEVELOPER);
}
}