[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/question/tests/ -> random_question_loader_test.php (summary)

Tests for the {@link core_question\bank\random_question_loader} class.

Copyright: 2015 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 221 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

random_question_loader_testcase:: (14 methods):
  test_empty_category_gives_null()
  test_unknown_category_behaves_like_empty()
  test_descriptions_not_returned()
  test_hidden_questions_not_returned()
  test_cloze_subquestions_not_returned()
  test_random_questions_not_returned()
  test_one_question_category_returns_that_q_then_null()
  test_two_question_category_returns_both_then_null()
  test_nested_categories()
  test_used_question_not_returned_until_later()
  test_previously_used_question_not_returned_until_later()
  test_empty_category_does_not_have_question_available()
  test_descriptions_not_available()
  test_existing_question_is_available_but_then_marked_used()


Class: random_question_loader_testcase  - X-Ref

Tests for the {@link core_question\bank\random_question_loader} class.



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