3 * Unit tests for grade/report/lib.php.
5 * @author nicolas@moodle.com
6 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
11 if (!defined('MOODLE_INTERNAL')) {
12 die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
15 require_once($CFG->dirroot
.'/grade/report/lib.php');
18 * @TODO create a set of mock objects to simulate the database operations. We don't want to connect to any real sql server.
20 class gradereportlib_test
extends UnitTestCase
{
26 $this->report
= new grade_report($this->courseid
, $this->context
);