Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 170... Línea 170...
170
        $dbman->drop_table($table);
170
        $dbman->drop_table($table);
Línea 171... Línea 171...
171
 
171
 
172
        ini_set('error_log', $this->oldlog);
172
        ini_set('error_log', $this->oldlog);
Línea 173... Línea 173...
173
    }
173
    }
174
 
174
 
175
    public function test_plugin() {
175
    public function test_plugin(): void {
Línea 176... Línea 176...
176
        global $DB, $CFG;
176
        global $DB, $CFG;
Línea 441... Línea 441...
441
    }
441
    }
Línea 442... Línea 442...
442
 
442
 
443
    /**
443
    /**
444
     * Testing the function _colonscope() from ADOdb.
444
     * Testing the function _colonscope() from ADOdb.
445
     */
445
     */
446
    public function test_adodb_colonscope() {
446
    public function test_adodb_colonscope(): void {
447
        global $CFG;
447
        global $CFG;
448
        require_once($CFG->libdir.'/adodb/adodb.inc.php');
448
        require_once($CFG->libdir.'/adodb/adodb.inc.php');
449
        require_once($CFG->libdir.'/adodb/drivers/adodb-odbc.inc.php');
449
        require_once($CFG->libdir.'/adodb/drivers/adodb-odbc.inc.php');
Línea 459... Línea 459...
459
    }
459
    }
Línea 460... Línea 460...
460
 
460
 
461
    /**
461
    /**
462
     * Testing the clean_data() method.
462
     * Testing the clean_data() method.
463
     */
463
     */
464
    public function test_clean_data() {
464
    public function test_clean_data(): void {
Línea 465... Línea 465...
465
        global $DB;
465
        global $DB;
466
 
466
 
467
        $this->resetAfterTest(false);
467
        $this->resetAfterTest(false);
Línea 503... Línea 503...
503
    }
503
    }
Línea 504... Línea 504...
504
 
504
 
505
    /**
505
    /**
506
     * Testing the deletion of a user when there are many users in the external DB.
506
     * Testing the deletion of a user when there are many users in the external DB.
507
     */
507
     */
508
    public function test_deleting_with_many_users() {
508
    public function test_deleting_with_many_users(): void {
Línea 509... Línea 509...
509
        global $DB;
509
        global $DB;
510
 
510
 
511
        $this->resetAfterTest(true);
511
        $this->resetAfterTest(true);