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


Public Member Functions | |
| setUp () | |
| tearDown () | |
| test_cm_null_initially () | |
| test_set_cm () | |
| test_cannot_set_activity_record_before_cm () | |
| test_setting_cm_sets_context () | |
| test_activity_record_loaded_if_not_set () | |
| test_set_activity_record () | |
| test_cannot_set_inconsistent_activity_record_course () | |
| test_cannot_set_inconsistent_activity_record_instance () | |
| test_setting_cm_sets_course () | |
| test_set_cm_with_course_and_activity_no_db () | |
| test_cannot_set_cm_with_inconsistent_course () | |
| test_get_activity_name () | |
Protected Member Functions | |
| create_a_forum_with_context () | |
Protected Attributes | |
| $testpage | |
| $originalcourse | |
Test functions that rely on the context table.
Definition at line 519 of file testpagelib_moodlepage.php.
| create_a_forum_with_context | ( | ) | [protected] |
Creates an object with all the fields you would expect a $course object to have.
Definition at line 548 of file testpagelib_moodlepage.php.

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

| tearDown | ( | ) |
Reimplemented from UnitTestCaseUsingDatabase.
Definition at line 540 of file testpagelib_moodlepage.php.
Definition at line 626 of file testpagelib_moodlepage.php.

Definition at line 605 of file testpagelib_moodlepage.php.

Definition at line 692 of file testpagelib_moodlepage.php.

Definition at line 645 of file testpagelib_moodlepage.php.

Definition at line 656 of file testpagelib_moodlepage.php.

Definition at line 591 of file testpagelib_moodlepage.php.

Definition at line 702 of file testpagelib_moodlepage.php.

Definition at line 635 of file testpagelib_moodlepage.php.

| test_set_cm | ( | ) |
Definition at line 596 of file testpagelib_moodlepage.php.

Definition at line 677 of file testpagelib_moodlepage.php.

Definition at line 614 of file testpagelib_moodlepage.php.

Definition at line 667 of file testpagelib_moodlepage.php.

$originalcourse [protected] |
Definition at line 521 of file testpagelib_moodlepage.php.
$testpage [protected] |
Definition at line 520 of file testpagelib_moodlepage.php.