Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 54... Línea 54...
54
    }
54
    }
Línea 55... Línea 55...
55
 
55
 
56
    /**
56
    /**
57
     * Test for provider::get_contexts_for_userid().
57
     * Test for provider::get_contexts_for_userid().
58
     */
58
     */
Línea 59... Línea 59...
59
    public function test_get_contexts_for_userid() {
59
    public function test_get_contexts_for_userid(): void {
60
 
60
 
61
        $this->resetAfterTest();
61
        $this->resetAfterTest();
Línea 86... Línea 86...
86
    }
86
    }
Línea 87... Línea 87...
87
 
87
 
88
    /**
88
    /**
89
     * Test for provider::get_users_in_context().
89
     * Test for provider::get_users_in_context().
90
     */
90
     */
Línea 91... Línea 91...
91
    public function test_get_users_in_context() {
91
    public function test_get_users_in_context(): void {
92
 
92
 
93
        $this->resetAfterTest();
93
        $this->resetAfterTest();
Línea 113... Línea 113...
113
    }
113
    }
Línea 114... Línea 114...
114
 
114
 
115
    /**
115
    /**
116
     * Test for provider::test_export_user_data().
116
     * Test for provider::test_export_user_data().
117
     */
117
     */
Línea 118... Línea 118...
118
    public function test_export_user_data() {
118
    public function test_export_user_data(): void {
119
 
119
 
120
        $this->resetAfterTest();
120
        $this->resetAfterTest();
Línea 163... Línea 163...
163
    }
163
    }
Línea 164... Línea 164...
164
 
164
 
165
    /**
165
    /**
166
     * Test for provider::delete_data_for_all_users_in_context().
166
     * Test for provider::delete_data_for_all_users_in_context().
167
     */
167
     */
168
    public function test_delete_data_for_all_users_in_context() {
168
    public function test_delete_data_for_all_users_in_context(): void {
Línea 169... Línea 169...
169
        global $DB;
169
        global $DB;
170
 
170
 
171
        $this->resetAfterTest();
171
        $this->resetAfterTest();
Línea 200... Línea 200...
200
    }
200
    }
Línea 201... Línea 201...
201
 
201
 
202
    /**
202
    /**
203
     * Test for provider::test_delete_data_for_users().
203
     * Test for provider::test_delete_data_for_users().
204
     */
204
     */
205
    public function test_delete_data_for_users() {
205
    public function test_delete_data_for_users(): void {
Línea 206... Línea 206...
206
        global $DB;
206
        global $DB;
207
 
207
 
208
        $this->resetAfterTest();
208
        $this->resetAfterTest();
Línea 263... Línea 263...
263
    }
263
    }
Línea 264... Línea 264...
264
 
264
 
265
    /**
265
    /**
266
     * Test for provider::delete_data_for_user().
266
     * Test for provider::delete_data_for_user().
267
     */
267
     */
268
    public function test_delete_data_for_user() {
268
    public function test_delete_data_for_user(): void {
Línea 269... Línea 269...
269
         global $DB;
269
         global $DB;
270
 
270
 
271
        $this->resetAfterTest();
271
        $this->resetAfterTest();
Línea 364... Línea 364...
364
    }
364
    }
Línea 365... Línea 365...
365
 
365
 
366
    /**
366
    /**
367
     * Ensure that export_user_preferences returns no data if the user has not visited any content bank.
367
     * Ensure that export_user_preferences returns no data if the user has not visited any content bank.
368
     */
368
     */
369
    public function test_export_user_preferences_no_pref() {
369
    public function test_export_user_preferences_no_pref(): void {
Línea 370... Línea 370...
370
        global $DB;
370
        global $DB;
371
 
371
 
372
        $this->resetAfterTest();
372
        $this->resetAfterTest();
Línea 380... Línea 380...
380
    }
380
    }
Línea 381... Línea 381...
381
 
381
 
382
    /**
382
    /**
383
     * Test for provider::test_export_user_preferences().
383
     * Test for provider::test_export_user_preferences().
384
     */
384
     */
385
    public function test_export_user_preferences() {
385
    public function test_export_user_preferences(): void {
Línea 386... Línea 386...
386
        global $DB;
386
        global $DB;
387
 
387
 
388
        // Test setup.
388
        // Test setup.