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.

Unit tests for core_course indicators.

Copyright: 2017 David MonllaĆ³ {@link http://www.davidmonllao.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 343 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 3 files
 lib/completionlib.php
 analytics/tests/fixtures/test_target_course_users.php
 completion/criteria/completion_criteria_self.php

Defines 1 class

core_course_indicators_testcase:: (5 methods):
  test_no_teacher()
  test_completion_enabled()
  test_potential_cognitive()
  test_potential_social()
  test_activities_due()


Class: core_course_indicators_testcase  - X-Ref

Unit tests for core_course indicators.

test_no_teacher()   X-Ref
test_no_teacher

return: void

test_completion_enabled()   X-Ref
test_completion_enabled

return: void

test_potential_cognitive()   X-Ref
test_potential_cognitive

return: void

test_potential_social()   X-Ref
test_potential_social

return: void

test_activities_due()   X-Ref
test_activities_due

return: void