|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| setUp () | |
| tearDown () | |
| test_get_ratings_sql () | |
Static Public Attributes | |
| static | $includecoverage |
Protected Attributes | |
| $testtables | |
| $syscontext | |
| $neededcaps = array('view', 'viewall', 'viewany', 'rate') | |
| $originaldefaultfrontpageroleid | |
Unit test case for all the rating/lib.php requiring DB mockup & manipulation
Definition at line 34 of file testrating.php.
| setUp | ( | ) |
| tearDown | ( | ) |
Reimplemented from UnitTestCaseUsingDatabase.
Definition at line 72 of file testrating.php.
Test the current get_ratings method main sql
Definition at line 92 of file testrating.php.

$includecoverage [static] |
array( 'rating/lib.php' )
Definition at line 36 of file testrating.php.
$neededcaps = array('view', 'viewall', 'viewany', 'rate') [protected] |
Definition at line 45 of file testrating.php.
$originaldefaultfrontpageroleid [protected] |
Definition at line 46 of file testrating.php.
$syscontext [protected] |
Definition at line 44 of file testrating.php.
$testtables [protected] |
array( 'lib' => array( 'rating', 'scale', 'context', 'capabilities', 'role_assignments', 'role_capabilities', 'course'))
Definition at line 40 of file testrating.php.