Moodle  2.2.1
http://www.collinsharper.com
moodle_page_with_context_table_test Class Reference
Inheritance diagram for moodle_page_with_context_table_test:
Collaboration diagram for moodle_page_with_context_table_test:

Public Member Functions

 setUp ()
 tearDown ()
 test_setting_course_sets_context ()

Protected Member Functions

 create_a_course_with_context ()

Protected Attributes

 $testpage
 $originalcourse

Detailed Description

Test functions that rely on the context table.

Definition at line 379 of file testpagelib_moodlepage.php.


Member Function Documentation

Creates an object with all the fields you would expect a $course object to have.

Definition at line 400 of file testpagelib_moodlepage.php.

Here is the caller graph for this function:

setUp ( )

Definition at line 383 of file testpagelib_moodlepage.php.

Here is the call graph for this function:

tearDown ( )

Reimplemented from UnitTestCaseUsingDatabase.

Definition at line 392 of file testpagelib_moodlepage.php.

Definition at line 418 of file testpagelib_moodlepage.php.

Here is the call graph for this function:


Field Documentation

$originalcourse [protected]

Definition at line 381 of file testpagelib_moodlepage.php.

$testpage [protected]

Definition at line 380 of file testpagelib_moodlepage.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations