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

Public Member Functions

 test_push_then_pop ()
 test_mismatched_pop_prints_warning ()
 test_pop_when_empty_prints_warning ()
 test_correct_nesting ()
 test_pop_all_but_last ()
 test_pop_all_but_last_only_one ()
 test_pop_all_but_last_empty ()
 test_discard ()

Static Public Attributes

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

Protected Member Functions

 start_capture ()
 end_capture ()

Detailed Description

Unit tests for the xhtml_container_stack class.

These tests assume that developer debug mode is on, which, at the time of writing, is true. admin/tool/unittest/index.php forces it on.

Definition at line 42 of file testoutputlib.php.


Member Function Documentation

end_capture ( ) [protected]

Definition at line 49 of file testoutputlib.php.

Here is the caller graph for this function:

start_capture ( ) [protected]

Definition at line 45 of file testoutputlib.php.

Here is the caller graph for this function:

Definition at line 93 of file testoutputlib.php.

Here is the call graph for this function:

Definition at line 153 of file testoutputlib.php.

Here is the call graph for this function:

Definition at line 68 of file testoutputlib.php.

Here is the call graph for this function:

Definition at line 109 of file testoutputlib.php.

Here is the call graph for this function:

Definition at line 141 of file testoutputlib.php.

Here is the call graph for this function:

Definition at line 126 of file testoutputlib.php.

Here is the call graph for this function:

Definition at line 81 of file testoutputlib.php.

Here is the call graph for this function:

Definition at line 55 of file testoutputlib.php.

Here is the call graph for this function:


Field Documentation

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

Definition at line 44 of file testoutputlib.php.


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