Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 47... Línea 47...
47
    }
47
    }
Línea 48... Línea 48...
48
 
48
 
49
    /**
49
    /**
50
     * Test login user
50
     * Test login user
51
     */
51
     */
52
    public function test_login_user() {
52
    public function test_login_user(): void {
Línea 53... Línea 53...
53
        global $DB;
53
        global $DB;
Línea 54... Línea 54...
54
 
54
 
Línea 74... Línea 74...
74
    }
74
    }
Línea 75... Línea 75...
75
 
75
 
76
    /**
76
    /**
77
     * Test get chat users
77
     * Test get chat users
78
     */
78
     */
79
    public function test_get_chat_users() {
79
    public function test_get_chat_users(): void {
Línea 80... Línea 80...
80
        global $DB;
80
        global $DB;
Línea 81... Línea 81...
81
 
81
 
Línea 118... Línea 118...
118
    }
118
    }
Línea 119... Línea 119...
119
 
119
 
120
    /**
120
    /**
121
     * Test send and get chat messages
121
     * Test send and get chat messages
122
     */
122
     */
123
    public function test_send_get_chat_message() {
123
    public function test_send_get_chat_message(): void {
Línea 124... Línea 124...
124
        global $DB;
124
        global $DB;
Línea 125... Línea 125...
125
 
125
 
Línea 157... Línea 157...
157
    }
157
    }
Línea 158... Línea 158...
158
 
158
 
159
    /**
159
    /**
160
     * Test view_chat
160
     * Test view_chat
161
     */
161
     */
162
    public function test_view_chat() {
162
    public function test_view_chat(): void {
Línea 163... Línea 163...
163
        global $DB;
163
        global $DB;
Línea 164... Línea 164...
164
 
164
 
Línea 225... Línea 225...
225
    }
225
    }
Línea 226... Línea 226...
226
 
226
 
227
    /**
227
    /**
228
     * Test get_chats_by_courses
228
     * Test get_chats_by_courses
229
     */
229
     */
230
    public function test_get_chats_by_courses() {
230
    public function test_get_chats_by_courses(): void {
231
        global $DB, $CFG;
231
        global $DB, $CFG;
232
        $this->resetAfterTest(true);
232
        $this->resetAfterTest(true);
Línea 233... Línea 233...
233
        $this->setAdminUser();
233
        $this->setAdminUser();
Línea 297... Línea 297...
297
    }
297
    }
Línea 298... Línea 298...
298
 
298
 
299
    /**
299
    /**
300
     * Test get_sessions_empty_chat
300
     * Test get_sessions_empty_chat
301
     */
301
     */
302
    public function test_get_sessions_empty_chat() {
302
    public function test_get_sessions_empty_chat(): void {
Línea 303... Línea 303...
303
        global $DB;
303
        global $DB;
Línea 304... Línea 304...
304
 
304
 
Línea 317... Línea 317...
317
 
317
 
318
 
318
 
319
    /**
319
    /**
320
     * Test get_sessions_no_permissions_for_student
320
     * Test get_sessions_no_permissions_for_student
321
     */
321
     */
Línea 322... Línea 322...
322
    public function test_get_sessions_no_permissions_for_student() {
322
    public function test_get_sessions_no_permissions_for_student(): void {
Línea 323... Línea 323...
323
        global $DB;
323
        global $DB;
Línea 348... Línea 348...
348
    }
348
    }
Línea 349... Línea 349...
349
 
349
 
350
    /**
350
    /**
351
     * Test get_sessions_not_completed_session
351
     * Test get_sessions_not_completed_session
352
     */
352
     */
353
    public function test_get_sessions_not_completed_session() {
353
    public function test_get_sessions_not_completed_session(): void {
Línea 354... Línea 354...
354
        global $DB;
354
        global $DB;
Línea 355... Línea 355...
355
 
355
 
Línea 387... Línea 387...
387
    }
387
    }
Línea 388... Línea 388...
388
 
388
 
389
    /**
389
    /**
390
     * Test get_sessions_completed_session
390
     * Test get_sessions_completed_session
391
     */
391
     */
392
    public function test_get_sessions_completed_session() {
392
    public function test_get_sessions_completed_session(): void {
Línea 393... Línea 393...
393
        global $DB;
393
        global $DB;
Línea 394... Línea 394...
394
 
394
 
Línea 439... Línea 439...
439
    }
439
    }
Línea 440... Línea 440...
440
 
440
 
441
    /**
441
    /**
442
     * Test get_session_messages
442
     * Test get_session_messages
443
     */
443
     */
444
    public function test_get_session_messages() {
444
    public function test_get_session_messages(): void {
Línea 445... Línea 445...
445
        global $DB;
445
        global $DB;
Línea 446... Línea 446...
446
 
446