2 // This file is part of Moodle - http://moodle.org/
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 * Fixtures for single view report screen class testing.
20 * @package gradereport_singleview
21 * @copyright 2014 onwards Simey Lameze <simey@moodle.com>
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25 defined('MOODLE_INTERNAL') || die();
27 class gradereport_singleview_screen_testable extends \gradereport_singleview\local\screen\screen {
30 * Wrapper to make protected method accessible during testing.
32 * @return array returns array of users.
34 public function test_load_users() {
35 return $this->load_users();
39 * Return the HTML for the page.
41 public function init($selfitemisempty = false) {}
44 * Get the type of items on this screen, not valid so return false.
46 public function item_type() {}
49 * Return the HTML for the page.
51 public function html() {}