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

Public Member Functions

 setUp ()
 testDown ()
 test_initial_state ()
 test_update_usage ()
 test_add_question ()
 test_add_and_start_question ()
 test_process_action ()
 test_regrade_same_steps ()
 test_regrade_losing_steps ()
 test_tricky_regrade ()

Protected Member Functions

 setup_initial_test_state ($testdata)
 get_test_data ()

Protected Attributes

 $quba
 $slot
 $observer

Detailed Description

Unit tests for the question_engine_unit_of_work class.

Definition at line 73 of file testunitofwork.php.


Member Function Documentation

get_test_data ( ) [protected]

Definition at line 114 of file testunitofwork.php.

Here is the caller graph for this function:

setUp ( )

Definition at line 83 of file testunitofwork.php.

Here is the call graph for this function:

setup_initial_test_state ( testdata) [protected]

Definition at line 104 of file testunitofwork.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 158 of file testunitofwork.php.

Here is the call graph for this function:

Definition at line 148 of file testunitofwork.php.

Here is the call graph for this function:

Definition at line 132 of file testunitofwork.php.

Here is the call graph for this function:

Definition at line 175 of file testunitofwork.php.

Here is the call graph for this function:

Definition at line 223 of file testunitofwork.php.

Here is the call graph for this function:

Definition at line 196 of file testunitofwork.php.

Here is the call graph for this function:

Definition at line 259 of file testunitofwork.php.

Here is the call graph for this function:

Definition at line 141 of file testunitofwork.php.

Here is the call graph for this function:

testDown ( )

Definition at line 100 of file testunitofwork.php.

Here is the call graph for this function:


Field Documentation

$observer [protected]

Definition at line 81 of file testunitofwork.php.

$quba [protected]

Definition at line 75 of file testunitofwork.php.

$slot [protected]

Definition at line 78 of file testunitofwork.php.


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