Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 49... Línea 49...
49
    }
49
    }
Línea 50... Línea 50...
50
 
50
 
51
    /**
51
    /**
52
     * Test getting the context for the user ID related to this plugin.
52
     * Test getting the context for the user ID related to this plugin.
53
     */
53
     */
54
    public function test_get_contexts_for_userid() {
54
    public function test_get_contexts_for_userid(): void {
Línea 55... Línea 55...
55
        global $DB;
55
        global $DB;
56
 
56
 
57
        $this->resetAfterTest();
57
        $this->resetAfterTest();
Línea 81... Línea 81...
81
    }
81
    }
Línea 82... Línea 82...
82
 
82
 
83
    /**
83
    /**
84
     * Test that user data is exported correctly.
84
     * Test that user data is exported correctly.
85
     */
85
     */
86
    public function test_export_user_data() {
86
    public function test_export_user_data(): void {
Línea 87... Línea 87...
87
        global $DB;
87
        global $DB;
88
 
88
 
89
        $this->resetAfterTest();
89
        $this->resetAfterTest();
Línea 121... Línea 121...
121
    }
121
    }
Línea 122... Línea 122...
122
 
122
 
123
    /**
123
    /**
124
     * Test for provider::delete_data_for_all_users_in_context().
124
     * Test for provider::delete_data_for_all_users_in_context().
125
     */
125
     */
126
    public function test_delete_data_for_all_users_in_context() {
126
    public function test_delete_data_for_all_users_in_context(): void {
Línea 127... Línea 127...
127
        global $DB;
127
        global $DB;
128
 
128
 
129
        $this->resetAfterTest();
129
        $this->resetAfterTest();
Línea 161... Línea 161...
161
    }
161
    }
Línea 162... Línea 162...
162
 
162
 
163
    /**
163
    /**
164
     * Test for provider::delete_data_for_user().
164
     * Test for provider::delete_data_for_user().
165
     */
165
     */
166
    public function test_delete_data_for_user() {
166
    public function test_delete_data_for_user(): void {
Línea 167... Línea 167...
167
        global $DB;
167
        global $DB;
168
 
168
 
169
        $this->resetAfterTest();
169
        $this->resetAfterTest();
Línea 207... Línea 207...
207
    }
207
    }
Línea 208... Línea 208...
208
 
208
 
209
    /**
209
    /**
210
     * Test for provider::delete_data_for_users().
210
     * Test for provider::delete_data_for_users().
211
     */
211
     */
212
    public function test_delete_data_for_users() {
212
    public function test_delete_data_for_users(): void {
Línea 213... Línea 213...
213
        global $DB;
213
        global $DB;
Línea 214... Línea 214...
214
 
214
 
Línea 257... Línea 257...
257
    }
257
    }
Línea 258... Línea 258...
258
 
258
 
259
    /**
259
    /**
260
     * Test for provider::get_users_in_context().
260
     * Test for provider::get_users_in_context().
261
     */
261
     */
262
    public function test_get_users_in_context() {
262
    public function test_get_users_in_context(): void {
Línea 263... Línea 263...
263
        global $DB;
263
        global $DB;
Línea 264... Línea 264...
264
 
264