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

Public Member Functions

 setUp ()
 tearDown ()
 test_constructor_sets_maxmark ()
 test_maxmark_beats_default_mark ()
 test_get_set_slot ()
 test_fagged_initially_false ()
 test_set_is_flagged ()
 test_get_qt_field_name ()
 test_get_behaviour_field_name ()
 test_get_field_prefix ()
 test_get_submitted_var_not_present_var_returns_null ()
 test_get_submitted_var_param_mark_not_present ()
 test_get_submitted_var_param_mark_blank ()
 test_get_submitted_var_param_mark_number ()
 test_get_submitted_var_param_mark_invalid ()

Detailed Description

Unit tests for the question_attempt class.

These are the tests that don't require any steps.

Definition at line 44 of file testquestionattempt.php.


Member Function Documentation

setUp ( )

Definition at line 49 of file testquestionattempt.php.

Here is the call graph for this function:

tearDown ( )

Definition at line 56 of file testquestionattempt.php.

Definition at line 62 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 78 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 93 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 99 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 87 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 73 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 106 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 116 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 126 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 111 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 121 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 68 of file testquestionattempt.php.

Here is the call graph for this function:

Definition at line 82 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