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


Public Member Functions | |
| setup () | |
| tearDown () | |
| test_construct_dupe_instance () | |
| test_caller_with_plugins () | |
Protected Member Functions | |
| setup_caller ($class, $callbackargs, $user=null) | |
Protected Attributes | |
| $testtables | |
Definition at line 194 of file portfolio_testclass.php.
| setup | ( | ) |
| setup_caller | ( | $ | class, |
| $ | callbackargs, | ||
| $ | user = null |
||
| ) | [protected] |
does everything we need to set up a new caller so each subclass doesn't have to implement this
| string | $class | name of caller class to generate (this class def must be already loaded) |
| array | $callbackargs | the arguments to pass the constructor of the caller |
| int | $userid | a userid the subclass has generated |
Definition at line 246 of file portfolio_testclass.php.
| tearDown | ( | ) |
Reimplemented from UnitTestCaseUsingDatabase.
Reimplemented in testPortfolioPluginDownload.
Definition at line 217 of file portfolio_testclass.php.
$testtables [protected] |
array( 'lib' => array( 'portfolio_instance', 'portfolio_instance_user', 'portfolio_instance_config', 'user', 'course', 'course_categories'))
Definition at line 197 of file portfolio_testclass.php.