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

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

Detailed Description

Test functions that rely on the context table.

Definition at line 434 of file testpagelib_moodlepage.php.


Member Function Documentation

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.

Here is the caller graph for this function:

setUp ( )

Definition at line 438 of file testpagelib_moodlepage.php.

Here is the call graph for this function:

tearDown ( )

Reimplemented from UnitTestCaseUsingDatabase.

Definition at line 454 of file testpagelib_moodlepage.php.

Definition at line 489 of file testpagelib_moodlepage.php.

Here is the call graph for this function:

Definition at line 502 of file testpagelib_moodlepage.php.

Here is the call graph for this function:


Field Documentation

$originalcourse [protected]

Definition at line 436 of file testpagelib_moodlepage.php.

$testpage [protected]

Definition at line 435 of file testpagelib_moodlepage.php.


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