[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/question/engine/tests/ -> questionattempt_test.php (summary)

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: 122 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 question/engine/lib.php
 question/engine/tests/helpers.php

Defines 1 class

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.

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

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



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1