Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 39... Línea 39...
39
class provider_test extends \core_privacy\tests\provider_testcase {
39
class provider_test extends \core_privacy\tests\provider_testcase {
Línea 40... Línea 40...
40
 
40
 
41
    /**
41
    /**
42
     * Test getting the context for the user ID related to this plugin.
42
     * Test getting the context for the user ID related to this plugin.
43
     */
43
     */
44
    public function test_get_contexts_for_userid() {
44
    public function test_get_contexts_for_userid(): void {
Línea 45... Línea 45...
45
        global $DB;
45
        global $DB;
46
 
46
 
Línea 77... Línea 77...
77
    }
77
    }
Línea 78... Línea 78...
78
 
78
 
79
    /**
79
    /**
80
     * Test that user data is exported correctly.
80
     * Test that user data is exported correctly.
81
     */
81
     */
82
    public function test_export_user_data() {
82
    public function test_export_user_data(): void {
Línea 83... Línea 83...
83
        global $DB;
83
        global $DB;
84
 
84
 
Línea 132... Línea 132...
132
    }
132
    }
Línea 133... Línea 133...
133
 
133
 
134
    /**
134
    /**
135
     * Test for provider::delete_data_for_all_users_in_context().
135
     * Test for provider::delete_data_for_all_users_in_context().
136
     */
136
     */
137
    public function test_delete_data_for_all_users_in_context() {
137
    public function test_delete_data_for_all_users_in_context(): void {
Línea 138... Línea 138...
138
        global $DB;
138
        global $DB;
139
 
139
 
Línea 180... Línea 180...
180
    }
180
    }
Línea 181... Línea 181...
181
 
181
 
182
    /**
182
    /**
183
     * Test for provider::delete_data_for_user().
183
     * Test for provider::delete_data_for_user().
184
     */
184
     */
185
    public function test_delete_data_for_user() {
185
    public function test_delete_data_for_user(): void {
Línea 186... Línea 186...
186
        global $DB;
186
        global $DB;
187
 
187
 
Línea 260... Línea 260...
260
    }
260
    }
Línea 261... Línea 261...
261
 
261
 
262
    /**
262
    /**
263
     * Test for provider::delete_data_for_users().
263
     * Test for provider::delete_data_for_users().
264
     */
264
     */
265
    public function test_delete_data_for_users() {
265
    public function test_delete_data_for_users(): void {
Línea 266... Línea 266...
266
        global $DB;
266
        global $DB;
Línea 267... Línea 267...
267
 
267
 
Línea 349... Línea 349...
349
    }
349
    }
Línea 350... Línea 350...
350
 
350
 
351
    /**
351
    /**
352
     * Test for provider::get_users_in_context().
352
     * Test for provider::get_users_in_context().
353
     */
353
     */
354
    public function test_get_users_in_context() {
354
    public function test_get_users_in_context(): void {
Línea 355... Línea 355...
355
        global $DB;
355
        global $DB;
Línea 356... Línea 356...
356
 
356