[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/tests/ -> grouplib_test.php (summary)

Tests groups subsystems.

Author: Andrew Nicols
Copyright: 2007 onwards Martin Dougiamas (http://dougiamas.com)
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 841 lines (41 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_grouplib_testcase:: (10 methods):
  test_groups_get_group_by_idnumber()
  test_groups_get_grouping_by_idnumber()
  test_groups_get_group_by_name()
  test_groups_get_grouping()
  test_groups_get_course_data()
  test_groups_group_visible()
  test_groups_get_groupmode()
  test_groups_allgroups_course_menu()
  test_groups_ordering()
  test_groups_get_user_groups()


Class: core_grouplib_testcase  - X-Ref

Unit tests for lib/grouplib.php

test_groups_get_group_by_idnumber()   X-Ref
No description

test_groups_get_grouping_by_idnumber()   X-Ref
No description

test_groups_get_group_by_name()   X-Ref
No description

test_groups_get_grouping()   X-Ref
No description

test_groups_get_course_data()   X-Ref
No description

test_groups_group_visible()   X-Ref
Tests for groups_group_visible.


test_groups_get_groupmode()   X-Ref
No description

test_groups_allgroups_course_menu()   X-Ref
Tests for groups_allgroups_course_menu() .


test_groups_ordering()   X-Ref
This unit test checks that groups_get_all_groups returns groups in
alphabetical order even if they are in a grouping.


test_groups_get_user_groups()   X-Ref
Tests for groups_get_user_groups() method.




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1