Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 38... Línea 38...
38
class portfolio_caller_test extends \advanced_testcase {
38
class portfolio_caller_test extends \advanced_testcase {
Línea 39... Línea 39...
39
 
39
 
40
    /**
40
    /**
41
     * Test an assignment file is loaded for a user who submitted it.
41
     * Test an assignment file is loaded for a user who submitted it.
42
     */
42
     */
43
    public function test_user_submission_file_is_loaded() {
43
    public function test_user_submission_file_is_loaded(): void {
Línea 44... Línea 44...
44
        $this->resetAfterTest(true);
44
        $this->resetAfterTest(true);
45
 
45
 
Línea 88... Línea 88...
88
    }
88
    }
Línea 89... Línea 89...
89
 
89
 
90
    /**
90
    /**
91
     * Test an assignment file is not loaded for a user that did not submit it.
91
     * Test an assignment file is not loaded for a user that did not submit it.
92
     */
92
     */
93
    public function test_different_user_submission_file_is_not_loaded() {
93
    public function test_different_user_submission_file_is_not_loaded(): void {
Línea 94... Línea 94...
94
        $this->resetAfterTest(true);
94
        $this->resetAfterTest(true);
95
 
95
 
Línea 130... Línea 130...
130
    }
130
    }
Línea 131... Línea 131...
131
 
131
 
132
    /**
132
    /**
133
     * Test an assignment file is loaded for a user who is part of a group that submitted it.
133
     * Test an assignment file is loaded for a user who is part of a group that submitted it.
134
     */
134
     */
135
    public function test_group_submission_file_is_loaded() {
135
    public function test_group_submission_file_is_loaded(): void {
Línea 136... Línea 136...
136
        $this->resetAfterTest(true);
136
        $this->resetAfterTest(true);
137
 
137
 
Línea 187... Línea 187...
187
    }
187
    }
Línea 188... Línea 188...
188
 
188
 
189
    /**
189
    /**
190
     * Test an assignment file is not loaded for a user who is not part of a group that submitted it.
190
     * Test an assignment file is not loaded for a user who is not part of a group that submitted it.
191
     */
191
     */
192
    public function test_different_group_submission_file_is_not_loaded() {
192
    public function test_different_group_submission_file_is_not_loaded(): void {
Línea 193... Línea 193...
193
        $this->resetAfterTest(true);
193
        $this->resetAfterTest(true);
194
 
194