[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

This file contains tests for the question_engine_unit_of_work class.

Copyright: 2012 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 511 lines (26 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 question/engine/tests/helpers.php
 question/engine/lib.php

Defines 1 class

question_engine_unit_of_work_test:: (23 methods):
  setUp()
  tearDown()
  setup_initial_test_state()
  get_test_data()
  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()
  test_move_question()
  test_move_question_then_modify()
  test_move_question_then_move_again()
  test_set_max_mark()
  test_set_question_attempt_metadata()
  test_set_question_attempt_metadata_then_change()
  test_set_metadata_previously_set_but_dont_actually_change()
  test_set_metadata_previously_set()
  test_set_metadata_in_new_question()
  test_set_metadata_then_move()
  test_move_then_set_metadata()


Class: question_engine_unit_of_work_test  - X-Ref

Unit tests for the {@link question_engine_unit_of_work} class.

setUp()   X-Ref
No description

tearDown()   X-Ref
No description

setup_initial_test_state($testdata)   X-Ref
No description

get_test_data()   X-Ref
No description

test_initial_state()   X-Ref
No description

test_update_usage()   X-Ref
No description

test_add_question()   X-Ref
No description

test_add_and_start_question()   X-Ref
No description

test_process_action()   X-Ref
No description

test_regrade_same_steps()   X-Ref
No description

test_regrade_losing_steps()   X-Ref
No description

test_tricky_regrade()   X-Ref
No description

test_move_question()   X-Ref
No description

test_move_question_then_modify()   X-Ref
No description

test_move_question_then_move_again()   X-Ref
No description

test_set_max_mark()   X-Ref
No description

test_set_question_attempt_metadata()   X-Ref
No description

test_set_question_attempt_metadata_then_change()   X-Ref
No description

test_set_metadata_previously_set_but_dont_actually_change()   X-Ref
No description

test_set_metadata_previously_set()   X-Ref
No description

test_set_metadata_in_new_question()   X-Ref
No description

test_set_metadata_then_move()   X-Ref
No description

test_move_then_set_metadata()   X-Ref
No description



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