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

Public Member Functions

 setUp ()
 test___construct ()
 test_add ()
 test_add_before ()
 test_add_class ()
 test_check_if_active ()
 test_contains_active_node ()
 test_find_active_node ()
 test_find ()
 test_find_expandable ()
 test_get ()
 test_get_css_type ()
 test_make_active ()
 test_remove ()
 test_remove_class ()

Data Fields

 $node

Static Public Attributes

static $includecoverage = array('./lib/navigationlib.php')
static $excludecoverage = array()

Protected Attributes

 $tree
 $fakeproperties
 $activeurl = null
 $inactivenode = null

Detailed Description

Definition at line 31 of file testnavigationlib.php.


Member Function Documentation

setUp ( )

Definition at line 49 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 73 of file testnavigationlib.php.

Here is the call graph for this function:

test_add ( )

Definition at line 83 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 101 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 123 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 134 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 149 of file testnavigationlib.php.

Here is the call graph for this function:

test_find ( )

Definition at line 176 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 165 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 187 of file testnavigationlib.php.

Here is the call graph for this function:

test_get ( )

Definition at line 200 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 211 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 221 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 230 of file testnavigationlib.php.

Here is the call graph for this function:

Definition at line 250 of file testnavigationlib.php.

Here is the call graph for this function:


Field Documentation

$activeurl = null [protected]

Definition at line 41 of file testnavigationlib.php.

$excludecoverage = array() [static]

Definition at line 34 of file testnavigationlib.php.

$fakeproperties [protected]
Initial value:
 array(
        'text' => 'text',
        'shorttext' => 'A very silly extra long short text string, more than 25 characters',
        'key' => 'key',
        'type' => 'navigation_node::TYPE_COURSE',
        'action' => 'http://www.moodle.org/')

Definition at line 35 of file testnavigationlib.php.

$inactivenode = null [protected]

Definition at line 42 of file testnavigationlib.php.

$includecoverage = array('./lib/navigationlib.php') [static]

Definition at line 33 of file testnavigationlib.php.

$node

Definition at line 47 of file testnavigationlib.php.

$tree [protected]

Definition at line 32 of file testnavigationlib.php.


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