Proyectos de Subversion Moodle

Rev

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

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