Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 32... Línea 32...
32
 *
32
 *
33
 * @package   qtype_gapselect
33
 * @package   qtype_gapselect
34
 * @copyright 2012 The Open University
34
 * @copyright 2012 The Open University
35
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36
 */
36
 */
37
class question_type_test extends \question_testcase {
37
final class question_type_test extends \question_testcase {
38
    /** @var qtype_gapselect instance of the question type class to test. */
38
    /** @var qtype_gapselect instance of the question type class to test. */
39
    protected $qtype;
39
    protected $qtype;
Línea 40... Línea 40...
40
 
40
 
-
 
41
    protected function setUp(): void {
41
    protected function setUp(): void {
42
        parent::setUp();
42
        $this->qtype = question_bank::get_qtype('gapselect');
43
        $this->qtype = question_bank::get_qtype('gapselect');
Línea 43... Línea 44...
43
    }
44
    }
44
 
45
 
-
 
46
    protected function tearDown(): void {
45
    protected function tearDown(): void {
47
        $this->qtype = null;
Línea 46... Línea 48...
46
        $this->qtype = null;
48
        parent::tearDown();
47
    }
49
    }