Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 68... Línea 68...
68
    }
68
    }
Línea 69... Línea 69...
69
 
69
 
70
    /**
70
    /**
71
     * Ensure that the get_sql_join function returns valid SQL which returns the correct list of rated itemids.
71
     * Ensure that the get_sql_join function returns valid SQL which returns the correct list of rated itemids.
72
     */
72
     */
73
    public function test_get_sql_join() {
73
    public function test_get_sql_join(): void {
74
        global $DB;
74
        global $DB;
Línea 75... Línea 75...
75
        $this->resetAfterTest();
75
        $this->resetAfterTest();
76
 
76
 
Línea 156... Línea 156...
156
 
156
 
157
    /**
157
    /**
158
     * Ensure that the get_sql_join function returns valid SQL which returns the correct list of rated itemids.
158
     * Ensure that the get_sql_join function returns valid SQL which returns the correct list of rated itemids.
159
     * This makes use of the optional inner join argument.
159
     * This makes use of the optional inner join argument.
160
     */
160
     */
161
    public function test_get_sql_join_inner() {
161
    public function test_get_sql_join_inner(): void {
162
        global $DB;
162
        global $DB;
Línea 163... Línea 163...
163
        $this->resetAfterTest();
163
        $this->resetAfterTest();
164
 
164
 
Línea 243... Línea 243...
243
    }
243
    }
Línea 244... Línea 244...
244
 
244
 
245
    /**
245
    /**
246
     * Ensure that export_area_ratings exports all ratings that a user has made, and all ratings for a users own content.
246
     * Ensure that export_area_ratings exports all ratings that a user has made, and all ratings for a users own content.
247
     */
247
     */
248
    public function test_export_area_ratings() {
248
    public function test_export_area_ratings(): void {
249
        global $DB;
249
        global $DB;
Línea 250... Línea 250...
250
        $this->resetAfterTest();
250
        $this->resetAfterTest();
251
 
251
 
Línea 341... Línea 341...
341
    }
341
    }
Línea 342... Línea 342...
342
 
342
 
343
    /**
343
    /**
344
     * Test delete_ratings() method.
344
     * Test delete_ratings() method.
345
     */
345
     */
346
    public function test_delete_ratings() {
346
    public function test_delete_ratings(): void {
347
        global $DB;
347
        global $DB;
Línea 348... Línea 348...
348
        $this->resetAfterTest();
348
        $this->resetAfterTest();
349
 
349
 
Línea 388... Línea 388...
388
    }
388
    }
Línea 389... Línea 389...
389
 
389
 
390
    /**
390
    /**
391
     * Test delete_ratings_select() method.
391
     * Test delete_ratings_select() method.
392
     */
392
     */
393
    public function test_delete_ratings_select() {
393
    public function test_delete_ratings_select(): void {
394
        global $DB;
394
        global $DB;
Línea 395... Línea 395...
395
        $this->resetAfterTest();
395
        $this->resetAfterTest();
396
 
396