Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]
This file contains tests for the question_attempt class. Action methods like start, process_action and finish are assumed to be tested by walkthrough tests in the various behaviours.
Copyright: | 2009 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 125 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 2 files question/engine/lib.php question/engine/tests/helpers.php |
question_attempt_testcase:: (12 methods):
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_all_submitted_qt_vars()
Class: question_attempt_testcase - X-Ref
Unit tests for the {@link question_attempt} class.setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
test_constructor_sets_maxmark() X-Ref |
No description |
test_maxmark_beats_default_mark() X-Ref |
No description |
test_get_set_slot() X-Ref |
No description |
test_fagged_initially_false() X-Ref |
No description |
test_set_is_flagged() X-Ref |
No description |
test_get_qt_field_name() X-Ref |
No description |
test_get_behaviour_field_name() X-Ref |
No description |
test_get_field_prefix() X-Ref |
No description |
test_get_submitted_var_not_present_var_returns_null() X-Ref |
No description |
test_get_all_submitted_qt_vars() X-Ref |
No description |