Proyectos de Subversion Moodle

Rev

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

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