Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 79... Línea 79...
79
    }
79
    }
Línea 80... Línea 80...
80
 
80
 
81
    /**
81
    /**
82
     * Test create_groups
82
     * Test create_groups
83
     */
83
     */
84
    public function test_create_groups() {
84
    public function test_create_groups(): void {
Línea 85... Línea 85...
85
        global $DB;
85
        global $DB;
Línea 86... Línea 86...
86
 
86
 
Línea 169... Línea 169...
169
    }
169
    }
Línea 170... Línea 170...
170
 
170
 
171
    /**
171
    /**
172
     * Test create_groups with custom fields.
172
     * Test create_groups with custom fields.
173
     */
173
     */
174
    public function test_create_groups_with_customfields() {
174
    public function test_create_groups_with_customfields(): void {
Línea 175... Línea 175...
175
        global $DB;
175
        global $DB;
176
 
176
 
Línea 231... Línea 231...
231
    }
231
    }
Línea 232... Línea 232...
232
 
232
 
233
    /**
233
    /**
234
     * Test update_groups
234
     * Test update_groups
235
     */
235
     */
236
    public function test_update_groups() {
236
    public function test_update_groups(): void {
Línea 237... Línea 237...
237
        global $DB;
237
        global $DB;
Línea 238... Línea 238...
238
 
238
 
Línea 315... Línea 315...
315
    }
315
    }
Línea 316... Línea 316...
316
 
316
 
317
    /**
317
    /**
318
     * Test update_groups with custom fields.
318
     * Test update_groups with custom fields.
319
     */
319
     */
320
    public function test_update_groups_with_customfields() {
320
    public function test_update_groups_with_customfields(): void {
321
        $this->resetAfterTest();
321
        $this->resetAfterTest();
Línea 322... Línea 322...
322
        $this->setAdminUser();
322
        $this->setAdminUser();
323
 
323
 
Línea 441... Línea 441...
441
    }
441
    }
Línea 442... Línea 442...
442
 
442
 
443
    /**
443
    /**
444
     * Test get_groups
444
     * Test get_groups
445
     */
445
     */
446
    public function test_get_groups() {
446
    public function test_get_groups(): void {
Línea 447... Línea 447...
447
        global $DB;
447
        global $DB;
Línea 448... Línea 448...
448
 
448
 
Línea 515... Línea 515...
515
    }
515
    }
Línea 516... Línea 516...
516
 
516
 
517
    /**
517
    /**
518
     * Test get_groups with customfields.
518
     * Test get_groups with customfields.
519
     */
519
     */
520
    public function test_get_groups_with_customfields() {
520
    public function test_get_groups_with_customfields(): void {
521
        $this->resetAfterTest();
521
        $this->resetAfterTest();
Línea 522... Línea 522...
522
        $this->setAdminUser();
522
        $this->setAdminUser();
523
 
523
 
Línea 542... Línea 542...
542
    }
542
    }
Línea 543... Línea 543...
543
 
543
 
544
    /**
544
    /**
545
     * Test delete_groups
545
     * Test delete_groups
546
     */
546
     */
547
    public function test_delete_groups() {
547
    public function test_delete_groups(): void {
Línea 548... Línea 548...
548
        global $DB;
548
        global $DB;
Línea 549... Línea 549...
549
 
549
 
Línea 592... Línea 592...
592
 
592
 
593
    /**
593
    /**
594
     * Test create and update groupings.
594
     * Test create and update groupings.
595
     * @return void
595
     * @return void
596
     */
596
     */
597
    public function test_create_update_groupings() {
597
    public function test_create_update_groupings(): void {
Línea 598... Línea 598...
598
        global $DB;
598
        global $DB;
Línea 599... Línea 599...
599
 
599
 
Línea 650... Línea 650...
650
    }
650
    }
Línea 651... Línea 651...
651
 
651
 
652
    /**
652
    /**
653
     * Test create_groupings with custom fields.
653
     * Test create_groupings with custom fields.
654
     */
654
     */
655
    public function test_create_groupings_with_customfields() {
655
    public function test_create_groupings_with_customfields(): void {
Línea 656... Línea 656...
656
        global $DB;
656
        global $DB;
657
 
657
 
Línea 687... Línea 687...
687
    }
687
    }
Línea 688... Línea 688...
688
 
688
 
689
    /**
689
    /**
690
     * Test update_groups with custom fields.
690
     * Test update_groups with custom fields.
691
     */
691
     */
692
    public function test_update_groupings_with_customfields() {
692
    public function test_update_groupings_with_customfields(): void {
693
        $this->resetAfterTest();
693
        $this->resetAfterTest();
Línea 694... Línea 694...
694
        $this->setAdminUser();
694
        $this->setAdminUser();
695
 
695
 
Línea 717... Línea 717...
717
    }
717
    }
Línea 718... Línea 718...
718
 
718
 
719
    /**
719
    /**
720
     * Test get_groupings
720
     * Test get_groupings
721
     */
721
     */
722
    public function test_get_groupings() {
722
    public function test_get_groupings(): void {
Línea 723... Línea 723...
723
        global $DB;
723
        global $DB;
Línea 724... Línea 724...
724
 
724
 
Línea 794... Línea 794...
794
    }
794
    }
Línea 795... Línea 795...
795
 
795
 
796
    /**
796
    /**
797
     * Test get_groupings with customfields.
797
     * Test get_groupings with customfields.
798
     */
798
     */
799
    public function test_get_groupings_with_customfields() {
799
    public function test_get_groupings_with_customfields(): void {
800
        $this->resetAfterTest();
800
        $this->resetAfterTest();
Línea 801... Línea 801...
801
        $this->setAdminUser();
801
        $this->setAdminUser();
802
 
802
 
Línea 844... Línea 844...
844
    }
844
    }
Línea 845... Línea 845...
845
 
845
 
846
    /**
846
    /**
847
     * Test delete_groupings.
847
     * Test delete_groupings.
848
     */
848
     */
849
    public function test_delete_groupings() {
849
    public function test_delete_groupings(): void {
Línea 850... Línea 850...
850
        global $DB;
850
        global $DB;
Línea 851... Línea 851...
851
 
851
 
Línea 897... Línea 897...
897
    }
897
    }
Línea 898... Línea 898...
898
 
898
 
899
    /**
899
    /**
900
     * Test get_groups
900
     * Test get_groups
901
     */
901
     */
902
    public function test_get_course_user_groups() {
902
    public function test_get_course_user_groups(): void {
Línea 903... Línea 903...
903
        global $DB;
903
        global $DB;
Línea 904... Línea 904...
904
 
904
 
Línea 1037... Línea 1037...
1037
    }
1037
    }
Línea 1038... Línea 1038...
1038
 
1038
 
1039
    /**
1039
    /**
1040
     * Test get_activity_allowed_groups
1040
     * Test get_activity_allowed_groups
1041
     */
1041
     */
1042
    public function test_get_activity_allowed_groups() {
1042
    public function test_get_activity_allowed_groups(): void {
Línea 1043... Línea 1043...
1043
        global $DB;
1043
        global $DB;
Línea 1044... Línea 1044...
1044
 
1044
 
Línea 1137... Línea 1137...
1137
    }
1137
    }
Línea 1138... Línea 1138...
1138
 
1138
 
1139
    /**
1139
    /**
1140
     * Test get_activity_groupmode
1140
     * Test get_activity_groupmode
1141
     */
1141
     */
1142
    public function test_get_activity_groupmode() {
1142
    public function test_get_activity_groupmode(): void {
Línea 1143... Línea 1143...
1143
        global $DB;
1143
        global $DB;
Línea 1144... Línea 1144...
1144
 
1144
 
Línea 1183... Línea 1183...
1183
    }
1183
    }
Línea 1184... Línea 1184...
1184
 
1184
 
1185
    /**
1185
    /**
1186
     * Test add_group_members.
1186
     * Test add_group_members.
1187
     */
1187
     */
1188
    public function test_add_group_members() {
1188
    public function test_add_group_members(): void {
Línea 1189... Línea 1189...
1189
        global $DB;
1189
        global $DB;
Línea 1190... Línea 1190...
1190
 
1190
 
Línea 1242... Línea 1242...
1242
    }
1242
    }
Línea 1243... Línea 1243...
1243
 
1243
 
1244
    /**
1244
    /**
1245
     * Test delete_group_members.
1245
     * Test delete_group_members.
1246
     */
1246
     */
1247
    public function test_delete_group_members() {
1247
    public function test_delete_group_members(): void {
Línea 1248... Línea 1248...
1248
        global $DB;
1248
        global $DB;
Línea 1249... Línea 1249...
1249
 
1249