Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 48... Línea 48...
48
            phpunit_util::normalise_line_endings($expectedtext),
48
            phpunit_util::normalise_line_endings($expectedtext),
49
            phpunit_util::normalise_line_endings($text)
49
            phpunit_util::normalise_line_endings($text)
50
        );
50
        );
51
    }
51
    }
Línea 52... Línea 52...
52
 
52
 
53
    public function test_export_questions() {
53
    public function test_export_questions(): void {
54
        $this->resetAfterTest();
54
        $this->resetAfterTest();
55
        $this->setAdminUser();
55
        $this->setAdminUser();
56
        // Create a new course category and and a new course in that.
56
        // Create a new course category and and a new course in that.
57
        $category = $this->getDataGenerator()->create_category();
57
        $category = $this->getDataGenerator()->create_category();
Línea 82... Línea 82...
82
 
82
 
83
EOT;
83
EOT;
84
        $this->assert_same_aiken($expectedoutput, $exporter->exportprocess());
84
        $this->assert_same_aiken($expectedoutput, $exporter->exportprocess());
Línea 85... Línea 85...
85
    }
85
    }
86
 
86
 
87
    public function test_export_multiline_question() {
87
    public function test_export_multiline_question(): void {
88
        $this->resetAfterTest();
88
        $this->resetAfterTest();
89
        $this->setAdminUser();
89
        $this->setAdminUser();
90
        // Create a new course category and and a new course in that.
90
        // Create a new course category and and a new course in that.