Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 310]

Cohort library tests.

Copyright: 2012 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 740 lines (35 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: core_cohort_cohortlib_testcase  - X-Ref

Cohort library tests.

test_cohort_add_cohort()   X-Ref
No description

test_cohort_add_cohort_missing_name()   X-Ref
No description

test_cohort_add_cohort_event()   X-Ref
No description

test_cohort_update_cohort()   X-Ref
No description

test_cohort_update_cohort_event()   X-Ref
No description

test_cohort_delete_cohort()   X-Ref
No description

test_cohort_delete_cohort_event()   X-Ref
No description

test_cohort_delete_category()   X-Ref
No description

test_cohort_add_member()   X-Ref
No description

test_cohort_add_member_event()   X-Ref
No description

test_cohort_remove_member()   X-Ref
No description

test_cohort_remove_member_event()   X-Ref
No description

test_cohort_is_member()   X-Ref
No description

test_cohort_get_cohorts()   X-Ref
No description

test_cohort_get_all_cohorts()   X-Ref
No description

test_cohort_get_available_cohorts()   X-Ref
No description

test_cohort_add_theme_cohort()   X-Ref
Create a cohort with allowcohortthemes enabled/disabled.


test_cohort_update_theme_cohort()   X-Ref
Update a cohort with allowcohortthemes enabled/disabled.