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

Public Member Functions

 setUp ()
 tearDown ()
 test_get_step_before_start ()
 test_get_step_at_start ()
 test_get_step_at_end ()
 test_get_step_past_end ()
 test_get_num_steps ()
 test_get_last_step ()
 test_get_last_qt_var_there1 ()
 test_get_last_qt_var_there2 ()
 test_get_last_qt_var_missing ()
 test_get_last_qt_var_missing_default ()
 test_get_last_behaviour_var_missing ()
 test_get_last_behaviour_var_there ()
 test_get_state_gets_state_of_last ()
 test_get_mark_gets_mark_of_last ()
 test_get_fraction_gets_fraction_of_last ()
 test_get_fraction_returns_null_if_none ()
 test_format_mark ()
 test_format_max_mark ()
 test_get_min_fraction ()
 test_cannot_get_min_fraction_before_start ()

Detailed Description

These tests use a standard fixture of a question_attempt with three steps.

Definition at line 139 of file testquestionattempt.php.


Member Function Documentation

setUp ( )

Definition at line 143 of file testquestionattempt.php.

Here is the call graph for this function:

tearDown ( )

Definition at line 152 of file testquestionattempt.php.

Definition at line 248 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 234 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 239 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 224 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 230 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 202 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 206 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 194 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 198 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 185 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 189 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 180 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 217 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 243 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 176 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 211 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 166 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 161 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 156 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 171 of file testquestionattempt.php.

Here is the call graph for this function:


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