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


Public Member Functions | |
| setUp () | |
| tearDown () | |
| test_set_category_top_level () | |
| test_set_nested_categories () | |
Protected Member Functions | |
| create_a_category_with_context ($parentid=0) | |
Protected Attributes | |
| $testpage | |
| $originalcourse | |
Test functions that rely on the context table.
Definition at line 434 of file testpagelib_moodlepage.php.
| create_a_category_with_context | ( | $ | parentid = 0 | ) | [protected] |
Creates an object with all the fields you would expect a $course object to have.
Definition at line 462 of file testpagelib_moodlepage.php.

| setUp | ( | ) |
Definition at line 438 of file testpagelib_moodlepage.php.

| tearDown | ( | ) |
Reimplemented from UnitTestCaseUsingDatabase.
Definition at line 454 of file testpagelib_moodlepage.php.
Definition at line 489 of file testpagelib_moodlepage.php.

Definition at line 502 of file testpagelib_moodlepage.php.

$originalcourse [protected] |
Definition at line 436 of file testpagelib_moodlepage.php.
$testpage [protected] |
Definition at line 435 of file testpagelib_moodlepage.php.