Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 33... Línea 33...
33
     * Tests log writing.
33
     * Tests log writing.
34
     *
34
     *
35
     * @param bool $jsonformat True to test with JSON format
35
     * @param bool $jsonformat True to test with JSON format
36
     * @dataProvider log_writing_provider
36
     * @dataProvider log_writing_provider
37
     */
37
     */
38
    public function test_log_writing(bool $jsonformat) {
38
    public function test_log_writing(bool $jsonformat): void {
39
        global $DB, $CFG;
39
        global $DB, $CFG;
40
        $this->resetAfterTest();
40
        $this->resetAfterTest();
41
        $this->preventResetByRollback(); // Logging waits till the transaction gets committed.
41
        $this->preventResetByRollback(); // Logging waits till the transaction gets committed.
Línea 42... Línea 42...
42
 
42
 
Línea 261... Línea 261...
261
    }
261
    }
Línea 262... Línea 262...
262
 
262
 
263
    /**
263
    /**
264
     * Test method is_event_ignored.
264
     * Test method is_event_ignored.
265
     */
265
     */
266
    public function test_is_event_ignored() {
266
    public function test_is_event_ignored(): void {
Línea 267... Línea 267...
267
        $this->resetAfterTest();
267
        $this->resetAfterTest();
268
 
268
 
269
        // Test guest filtering.
269
        // Test guest filtering.
Línea 304... Línea 304...
304
    }
304
    }
Línea 305... Línea 305...
305
 
305
 
306
    /**
306
    /**
307
     * Test logmanager::get_supported_reports returns all reports that require this store.
307
     * Test logmanager::get_supported_reports returns all reports that require this store.
308
     */
308
     */
309
    public function test_get_supported_reports() {
309
    public function test_get_supported_reports(): void {
310
        $logmanager = get_log_manager();
310
        $logmanager = get_log_manager();
Línea 311... Línea 311...
311
        $allreports = \core_component::get_plugin_list('report');
311
        $allreports = \core_component::get_plugin_list('report');
312
 
312