Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 34... Línea 34...
34
 *
34
 *
35
 * @package    qformat_blackboard_six
35
 * @package    qformat_blackboard_six
36
 * @copyright  2012 Jean-Michel Vedrine
36
 * @copyright  2012 Jean-Michel Vedrine
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
38
 */
38
 */
39
class blackboardsixformatqti_test extends \question_testcase {
39
final class blackboardsixformatqti_test extends \question_testcase {
Línea 40... Línea 40...
40
 
40
 
41
    public function make_test_xml() {
41
    public function make_test_xml() {
42
        $xmlfile = new qformat_blackboard_six_file();
42
        $xmlfile = new qformat_blackboard_six_file();
43
        $xmlfile->filetype = 1;
43
        $xmlfile->filetype = 1;
44
        $xmlfile->text = file_get_contents(__DIR__ . '/fixtures/sample_blackboard_qti.dat');
44
        $xmlfile->text = file_get_contents(self::get_fixture_path(__NAMESPACE__, 'sample_blackboard_qti.dat'));
45
        return array(0 => $xmlfile);
45
        return array(0 => $xmlfile);
46
    }
46
    }
47
    public function test_import_match(): void {
47
    public function test_import_match(): void {