[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/grade/tests/ -> reportuserlib_test.php (summary)

Unit tests for grade/report/user/lib.php.

Copyright: 2012 Andrew Davis
License: http://www.gnu.org/copyleft/gpl.html GNU Public License
File Size: 185 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_grade_reportuserlib_testcase:: (2 methods):
  test_inject_rowspans()
  create_report()


Class: core_grade_reportuserlib_testcase  - X-Ref

Tests grade_report_user (the gradebook's user report)

test_inject_rowspans()   X-Ref
Tests grade_report_user::inject_rowspans()

inject_rowspans() returns the count of the number of elements, sets maxdepth on the
report object and sets the rowspan property on any element that has children.

create_report($course, $user, $coursecontext)   X-Ref
No description



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