[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Grade history report test.
Copyright: | 2014 Frédéric Massart - FMCorz.net |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 356 lines (18 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
gradereport_history_report_testcase:: (6 methods):
test_query_db()
test_get_users()
test_graders()
assertGradeHistoryIds()
create_grade_history()
get_tablelog_results()
gradereport_history_tests_tablelog:: (1 method):
get_test_results()
Class: gradereport_history_report_testcase - X-Ref
Grade history report test class.test_query_db() X-Ref |
Create some grades. |
test_get_users() X-Ref |
Test the get users helper method. |
test_graders() X-Ref |
Test the get graders helper method. |
assertGradeHistoryIds(array $expectedids, array $objects) X-Ref |
Asserts that the array of grade objects contains exactly the right IDs. param: array $expectedids Array of expected IDs. param: array $objects Array of objects returned by the table. |
create_grade_history($params) X-Ref |
Create a new grade history entry. param: array $params Of values. return: object The grade object. |
get_tablelog_results($coursecontext, $filters = array() X-Ref |
Returns a table log object. param: context_course $coursecontext The course context. param: array $filters An array of filters. param: boolean $count When true, returns a count rather than an array of objects. return: mixed Count or array of objects. |
Class: gradereport_history_tests_tablelog - X-Ref
Extended table log class.get_test_results($count = false) X-Ref |
Get the test results. param: boolean $count Whether or not we want the count. return: mixed Count or array of objects. |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |