[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/enrol/meta/tests/ -> plugin_test.php (summary)

Meta enrolment sync functional test.

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

Defines 1 class

enrol_meta_plugin_testcase:: (12 methods):
  enable_plugin()
  disable_plugin()
  is_meta_enrolled()
  has_role()
  test_sync()
  test_add_to_group()
  test_add_to_group_with_member()
  test_user_enrolment_created_event()
  test_user_enrolment_deleted_event()
  test_user_enrolment_updated_event()
  test_enrol_meta_create_new_group()
  test_timeend()


Class: enrol_meta_plugin_testcase  - X-Ref

enable_plugin()   X-Ref
No description

disable_plugin()   X-Ref
No description

is_meta_enrolled($user, $enrol, $role = null)   X-Ref
No description

has_role($user, $enrol, $role)   X-Ref
No description

test_sync()   X-Ref
No description

test_add_to_group()   X-Ref
No description

test_add_to_group_with_member()   X-Ref
Enrol users from another course into a course where one of the members is already enrolled
and is a member of the same group.


test_user_enrolment_created_event()   X-Ref
Test user_enrolment_created event.


test_user_enrolment_deleted_event()   X-Ref
Test user_enrolment_deleted event.


test_user_enrolment_updated_event()   X-Ref
Test user_enrolment_updated event.


test_enrol_meta_create_new_group()   X-Ref
Test that a new group with the name of the course is created.


test_timeend()   X-Ref
Test that enrolment timestart-timeend is respected in meta course.




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1