Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 60... Línea 60...
60
/**
60
/**
61
 * Test for some parts of the repaginate class.
61
 * Test for some parts of the repaginate class.
62
 * @copyright 2014 The Open University
62
 * @copyright 2014 The Open University
63
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
63
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
64
 */
64
 */
65
class repaginate_test extends \advanced_testcase {
65
final class repaginate_test extends \advanced_testcase {
Línea 66... Línea 66...
66
 
66
 
67
    /** @var array stores the slots. */
67
    /** @var array stores the slots. */
68
    private $quizslots;
68
    private $quizslots;
69
    /** @var mod_quiz_repaginate_testable the object being tested. */
69
    /** @var mod_quiz_repaginate_testable the object being tested. */
Línea 70... Línea 70...
70
    private $repaginate = null;
70
    private $repaginate = null;
-
 
71
 
71
 
72
    public function setUp(): void {
72
    public function setUp(): void {
73
        parent::setUp();
73
        $this->set_quiz_slots($this->get_quiz_object()->get_slots());
74
        $this->set_quiz_slots($this->get_quiz_object()->get_slots());
Línea 74... Línea 75...
74
        $this->repaginate = new mod_quiz_repaginate_testable(0, $this->quizslots);
75
        $this->repaginate = new mod_quiz_repaginate_testable(0, $this->quizslots);