Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 40... Línea 40...
40
 
40
 
41
 
41
 
42
    /**
42
    /**
43
     * @covers ::from_files
43
     * @covers ::from_files
Línea 44... Línea 44...
44
     */
44
     */
Línea 45... Línea 45...
45
    public function test_from_files() {
45
    public function test_from_files(): void {
46
 
46
 
Línea 146... Línea 146...
146
    /**
146
    /**
147
     * @dataProvider from_file_provider
147
     * @dataProvider from_file_provider
148
     * @covers ::from_file
148
     * @covers ::from_file
149
     */
149
     */
150
    public function test_from_file(string $fullpath, string $tablename, ?string $exception,
150
    public function test_from_file(string $fullpath, string $tablename, ?string $exception,
151
        array $tables, array $columns, array $rows) {
151
        array $tables, array $columns, array $rows): void {
Línea 152... Línea 152...
152
 
152
 
Línea 153... Línea 153...
153
        $ds = new phpunit_dataset();
153
        $ds = new phpunit_dataset();
154
 
154
 
Línea 236... Línea 236...
236
    /**
236
    /**
237
     * @dataProvider from_string_provider
237
     * @dataProvider from_string_provider
238
     * @covers ::from_string
238
     * @covers ::from_string
239
     */
239
     */
240
    public function test_from_string(string $content, string $type, string $tablename, ?string $exception,
240
    public function test_from_string(string $content, string $type, string $tablename, ?string $exception,
241
        array $tables, array $columns, array $rows) {
241
        array $tables, array $columns, array $rows): void {
Línea 242... Línea 242...
242
 
242
 
Línea 243... Línea 243...
243
        $ds = new phpunit_dataset();
243
        $ds = new phpunit_dataset();
244
 
244
 
Línea 379... Línea 379...
379
    /**
379
    /**
380
     * @dataProvider from_array_provider
380
     * @dataProvider from_array_provider
381
     * @covers ::from_array
381
     * @covers ::from_array
382
     */
382
     */
383
    public function test_from_array(array $structure, ?string $exception,
383
    public function test_from_array(array $structure, ?string $exception,
384
        array $tables, array $columns, array $rows, ?bool $repeated = false) {
384
        array $tables, array $columns, array $rows, ?bool $repeated = false): void {
Línea 385... Línea 385...
385
 
385
 
Línea 386... Línea 386...
386
        $ds = new phpunit_dataset();
386
        $ds = new phpunit_dataset();
387
 
387
 
Línea 470... Línea 470...
470
    /**
470
    /**
471
     * @dataProvider load_csv_provider
471
     * @dataProvider load_csv_provider
472
     * @covers ::load_csv
472
     * @covers ::load_csv
473
     */
473
     */
474
    public function test_load_csv(array $files, ?string $exception,
474
    public function test_load_csv(array $files, ?string $exception,
475
        array $tables, array $columns, array $rows) {
475
        array $tables, array $columns, array $rows): void {
Línea 476... Línea 476...
476
 
476
 
Línea 477... Línea 477...
477
        $ds = new phpunit_dataset();
477
        $ds = new phpunit_dataset();
478
 
478
 
Línea 638... Línea 638...
638
    /**
638
    /**
639
     * @dataProvider load_xml_provider
639
     * @dataProvider load_xml_provider
640
     * @covers ::load_xml
640
     * @covers ::load_xml
641
     */
641
     */
642
    public function test_load_xml(array $files, ?string $exception,
642
    public function test_load_xml(array $files, ?string $exception,
643
        array $tables, array $columns, array $rows) {
643
        array $tables, array $columns, array $rows): void {
Línea 644... Línea 644...
644
 
644
 
Línea 645... Línea 645...
645
        $ds = new phpunit_dataset();
645
        $ds = new phpunit_dataset();
646
 
646
 
Línea 769... Línea 769...
769
 
769
 
770
    /**
770
    /**
771
     * @dataProvider to_database_provider
771
     * @dataProvider to_database_provider
772
     * @covers ::to_database
772
     * @covers ::to_database
773
     */
773
     */
774
    public function test_to_database(array $files, ?array $filter, ?string $exception, array $columns, array $rows) {
774
    public function test_to_database(array $files, ?array $filter, ?string $exception, array $columns, array $rows): void {
Línea 775... Línea 775...
775
        global $DB;
775
        global $DB;
Línea 776... Línea 776...
776
 
776
 
Línea 906... Línea 906...
906
 
906
 
907
    /**
907
    /**
908
     * @dataProvider get_rows_provider
908
     * @dataProvider get_rows_provider
909
     * @covers ::get_rows
909
     * @covers ::get_rows
910
     */
910
     */
Línea 911... Línea 911...
911
    public function test_get_rows(array $files, array $filter, ?string $exception, array $rows) {
911
    public function test_get_rows(array $files, array $filter, ?string $exception, array $rows): void {
Línea 912... Línea 912...
912
 
912
 
913
        $ds = new phpunit_dataset();
913
        $ds = new phpunit_dataset();