Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 28... Línea 28...
28
 */
28
 */
29
class maketestcourse_test extends \advanced_testcase {
29
class maketestcourse_test extends \advanced_testcase {
30
    /**
30
    /**
31
     * Creates a small test course and checks all the components have been put in place.
31
     * Creates a small test course and checks all the components have been put in place.
32
     */
32
     */
33
    public function test_make_xs_course() {
33
    public function test_make_xs_course(): void {
34
        global $DB;
34
        global $DB;
Línea 35... Línea 35...
35
 
35
 
36
        $this->resetAfterTest();
36
        $this->resetAfterTest();
Línea 135... Línea 135...
135
    }
135
    }
Línea 136... Línea 136...
136
 
136
 
137
    /**
137
    /**
138
     * Creates an small test course with fixed data set and checks the used sections and users.
138
     * Creates an small test course with fixed data set and checks the used sections and users.
139
     */
139
     */
Línea 140... Línea 140...
140
    public function test_fixed_data_set() {
140
    public function test_fixed_data_set(): void {
141
 
141
 
Línea 142... Línea 142...
142
        $this->resetAfterTest();
142
        $this->resetAfterTest();
Línea 176... Línea 176...
176
    }
176
    }
Línea 177... Línea 177...
177
 
177
 
178
    /**
178
    /**
179
     * Creates a small test course specifying a maximum size and checks the generated files size is limited.
179
     * Creates a small test course specifying a maximum size and checks the generated files size is limited.
180
     */
180
     */
Línea 181... Línea 181...
181
    public function test_filesize_limit() {
181
    public function test_filesize_limit(): void {
182
 
182
 
Línea 183... Línea 183...
183
        $this->resetAfterTest();
183
        $this->resetAfterTest();