Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 22... Línea 22...
22
 * @package   core
22
 * @package   core
23
 * @category  test
23
 * @category  test
24
 * @copyright 2012 The Open University
24
 * @copyright 2012 The Open University
25
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
26
 */
26
 */
27
class setuplib_test extends \advanced_testcase {
27
final class setuplib_test extends \advanced_testcase {
Línea 28... Línea 28...
28
 
28
 
29
    /**
29
    /**
30
     * Test get_docs_url_standard in the normal case when we should link to Moodle docs.
30
     * Test get_docs_url_standard in the normal case when we should link to Moodle docs.
31
     */
31
     */
Línea 424... Línea 424...
424
    /**
424
    /**
425
     * Data provider for test_get_real_size().
425
     * Data provider for test_get_real_size().
426
     *
426
     *
427
     * @return array An array of arrays contain test data
427
     * @return array An array of arrays contain test data
428
     */
428
     */
429
    public function data_for_test_get_real_size() {
429
    public static function data_for_test_get_real_size(): array {
430
        return array(
430
        return array(
431
            array('8KB',    8192),
431
            array('8KB',    8192),
432
            array('8Kb',    8192),
432
            array('8Kb',    8192),
433
            array('8K',     8192),
433
            array('8K',     8192),
434
            array('8k',     8192),
434
            array('8k',     8192),