Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 42... Línea 42...
42
 * @copyright 2011 Tomasz Muras
42
 * @copyright 2011 Tomasz Muras
43
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
43
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
44
 */
44
 */
45
class componentlib_test extends \advanced_testcase {
45
class componentlib_test extends \advanced_testcase {
Línea 46... Línea 46...
46
 
46
 
47
    public function test_component_installer() {
47
    public function test_component_installer(): void {
Línea 48... Línea 48...
48
        global $CFG;
48
        global $CFG;
49
 
49
 
50
        $url = $this->getExternalTestFileUrl('');
50
        $url = $this->getExternalTestFileUrl('');
Línea 76... Línea 76...
76
    }
76
    }
Línea 77... Línea 77...
77
 
77
 
78
    /**
78
    /**
79
     * Test the public API of the {@link lang_installer} class.
79
     * Test the public API of the {@link lang_installer} class.
80
     */
80
     */
Línea 81... Línea 81...
81
    public function test_lang_installer() {
81
    public function test_lang_installer(): void {
82
 
82
 
83
        // Test the manipulation with the download queue.
83
        // Test the manipulation with the download queue.
84
        $installer = new testable_lang_installer();
84
        $installer = new testable_lang_installer();