Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

(no description)

File Size: 1692 lines (69 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

events_test:: (45 methods):
  test_competency_framework_created()
  test_competency_framework_deleted()
  test_competency_framework_updated()
  test_competency_framework_viewed()
  test_competency_viewed()
  test_template_viewed()
  test_template_created()
  test_template_deleted()
  test_template_updated()
  test_competency_updated()
  test_competency_created()
  test_competency_created_by_duplicateframework()
  test_competency_deleted()
  test_competency_deleted_by_deleteframework()
  test_plan_created()
  test_plan_created_using_templatecohort()
  test_plan_updated()
  test_plan_deleted()
  test_plan_viewed()
  test_user_evidence_created()
  test_user_evidence_deleted()
  test_user_evidence_updated()
  test_user_competency_viewed_in_plan()
  test_user_competency_viewed_in_course()
  test_user_competency_plan_viewed()
  test_user_competency_viewed()
  test_plan_approved()
  test_plan_unapproved()
  test_plan_reopened()
  test_plan_completed()
  test_plan_unlinked()
  test_plan_review_requested()
  test_plan_review_request_cancelled()
  test_plan_review_started()
  test_plan_review_stopped()
  test_plan_comment_created()
  test_plan_comment_deleted()
  test_evidence_created()
  test_evidence_created_with_invalid_user_competency()
  test_evidence_created_with_missing_data()
  test_user_competency_rated()
  test_user_competency_rated_in_course()
  test_user_competency_rated_in_plan()
  test_user_competency_comment_created()
  test_user_competency_comment_deleted()


Class: events_test  - X-Ref

Event tests.

test_competency_framework_created()   X-Ref
Test the competency framework created event.


test_competency_framework_deleted()   X-Ref
Test the competency framework deleted event.


test_competency_framework_updated()   X-Ref
Test the competency framework updated event.


test_competency_framework_viewed()   X-Ref
Test the competency framework viewed event.


test_competency_viewed()   X-Ref
Test the competency viewed event.


test_template_viewed()   X-Ref
Test the template viewed event.


test_template_created()   X-Ref
Test the template created event.


test_template_deleted()   X-Ref
Test the template deleted event.


test_template_updated()   X-Ref
Test the template updated event.


test_competency_updated()   X-Ref
Test the competency updated event.


test_competency_created()   X-Ref
Test the competency created event.


test_competency_created_by_duplicateframework()   X-Ref
Test the competency created event by duplicate framework.


test_competency_deleted()   X-Ref
Test the competency deleted event.


test_competency_deleted_by_deleteframework()   X-Ref
Test the competency deleted event by delete framework.


test_plan_created()   X-Ref
Test the plan created event.


test_plan_created_using_templatecohort()   X-Ref
Test the plan created event using template_cohort.


test_plan_updated()   X-Ref
Test the plan updated event.


test_plan_deleted()   X-Ref
Test the plan deleted event.


test_plan_viewed()   X-Ref
Test the plan viewed event.


test_user_evidence_created()   X-Ref
Test the evidence of prior learning created event.


test_user_evidence_deleted()   X-Ref
Test the evidence of prior learning  deleted event.


test_user_evidence_updated()   X-Ref
Test the evidence of prior learning  updated event.


test_user_competency_viewed_in_plan()   X-Ref
Test the user competency viewed event in plan.


test_user_competency_viewed_in_course()   X-Ref
Test the user competency viewed event in course.


test_user_competency_plan_viewed()   X-Ref
Test the user competency plan viewed event.


test_user_competency_viewed()   X-Ref
Test the user competency viewed event.


test_plan_approved()   X-Ref
Test the plan approved event.


test_plan_unapproved()   X-Ref
Test the plan unapproved event.


test_plan_reopened()   X-Ref
Test the plan reopened event.


test_plan_completed()   X-Ref
Test the plan completed event.


test_plan_unlinked()   X-Ref
Test the plan unlinked event.


test_plan_review_requested()   X-Ref
Test the plan review requested event.


test_plan_review_request_cancelled()   X-Ref
Test the plan review request cancelled event.


test_plan_review_started()   X-Ref
Test the plan review started event.


test_plan_review_stopped()   X-Ref
Test the plan review stopped event.


test_plan_comment_created()   X-Ref
Test plan comment created event.


test_plan_comment_deleted()   X-Ref
Test plan comment deleted event.


test_evidence_created()   X-Ref
Test evidence_created event.


test_evidence_created_with_invalid_user_competency()   X-Ref
Test evidence_created event by linking an invalid user competency to an evidence.


test_evidence_created_with_missing_data()   X-Ref
Test creation of evidence_created event with missing data.

These data are validated by \core_competency\evidence_created::validate_data().

test_user_competency_rated()   X-Ref
Test the user competency grade rated event.


test_user_competency_rated_in_course()   X-Ref
Test the user competency grade rated in course event.


test_user_competency_rated_in_plan()   X-Ref
Test the user competency grade rated in plan event.


test_user_competency_comment_created()   X-Ref
Test user competency comment created event.


test_user_competency_comment_deleted()   X-Ref
Test plan comment deleted event.