MDL-32323 convert question tests
authorPetr Skoda <commits@skodak.org>
Sun, 8 Apr 2012 22:24:57 +0000 (00:24 +0200)
committerPetr Skoda <commits@skodak.org>
Tue, 10 Apr 2012 13:27:11 +0000 (15:27 +0200)
commit603bd001125683687997f5a9731e6c2f84957814
treeb8005c38cfdbd2af90f9aed61f07578dfc9863a5
parent4594a381e5c06cbe6d09a5a31abae36f009c20fc
MDL-32323 convert question tests

1/ type/match/tests/walkthrough_test.php - tests are failing randomly, looks like some weird randomisation is going on there - see TODOs

2/ type/multianswer/tests/upgradelibnewqe_test.php contains invalid expected value - see TODO
92 files changed:
phpunit.xml.dist
question/behaviour/adaptive/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/adaptivenopenalty/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/deferredcbm/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/deferredfeedback/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/immediatecbm/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/immediatefeedback/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/informationitem/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/interactive/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/interactivecountback/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/manualgraded/tests/walkthrough_test.php [new file with mode: 0644]
question/behaviour/missing/tests/missingbehaviour_test.php [new file with mode: 0644]
question/engine/tests/datalib_test.php [new file with mode: 0644]
question/engine/tests/helpers.php [new file with mode: 0644]
question/engine/tests/questionattempt_test.php [new file with mode: 0644]
question/engine/tests/questionattemptiterator_test.php [new file with mode: 0644]
question/engine/tests/questionattemptstep_test.php [new file with mode: 0644]
question/engine/tests/questionattemptstepiterator_test.php [new file with mode: 0644]
question/engine/tests/questionbank_test.php [new file with mode: 0644]
question/engine/tests/questioncbm_test.php [new file with mode: 0644]
question/engine/tests/questionengine_test.php [new file with mode: 0644]
question/engine/tests/questionstate_test.php [new file with mode: 0644]
question/engine/tests/questionusagebyactivity_test.php [new file with mode: 0644]
question/engine/tests/questionutils_test.php [new file with mode: 0644]
question/engine/tests/unitofwork_test.php [new file with mode: 0644]
question/engine/upgrade/tests/helper.php [new file with mode: 0644]
question/format/gift/tests/fixtures/questions.gift.txt [new file with mode: 0644]
question/format/gift/tests/giftformat_test.php [new file with mode: 0644]
question/format/xml/tests/xmlformat_test.php [new file with mode: 0644]
question/tests/importexport_test.php [new file with mode: 0644]
question/type/calculated/tests/helper.php [new file with mode: 0644]
question/type/calculated/tests/question_test.php [new file with mode: 0644]
question/type/calculated/tests/questiontype_test.php [new file with mode: 0644]
question/type/calculated/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/calculated/tests/variablesubstituter_test.php [new file with mode: 0644]
question/type/calculated/tests/walkthrough_test.php [new file with mode: 0644]
question/type/calculatedmulti/tests/helper.php [new file with mode: 0644]
question/type/calculatedmulti/tests/question_test.php [new file with mode: 0644]
question/type/calculatedmulti/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/calculatedmulti/tests/walkthrough_test.php [new file with mode: 0644]
question/type/calculatedsimple/tests/helper.php [new file with mode: 0644]
question/type/calculatedsimple/tests/question_test.php [new file with mode: 0644]
question/type/calculatedsimple/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/calculatedsimple/tests/walkthrough_test.php [new file with mode: 0644]
question/type/description/tests/helper.php [new file with mode: 0644]
question/type/description/tests/questiontype_test.php [new file with mode: 0644]
question/type/description/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/description/tests/walkthrough_test.php [new file with mode: 0644]
question/type/edit_question_form.php
question/type/essay/questiontype.php
question/type/essay/tests/question_test.php [new file with mode: 0644]
question/type/essay/tests/questiontype_test.php [new file with mode: 0644]
question/type/essay/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/match/tests/question_test.php [new file with mode: 0644]
question/type/match/tests/questiontype_test.php [new file with mode: 0644]
question/type/match/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/match/tests/walkthrough_test.php [new file with mode: 0644]
question/type/missingtype/tests/missingtype_test.php [new file with mode: 0644]
question/type/multianswer/tests/helper.php [new file with mode: 0644]
question/type/multianswer/tests/question_test.php [new file with mode: 0644]
question/type/multianswer/tests/questiontype_test.php [new file with mode: 0644]
question/type/multianswer/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/multianswer/tests/walkthrough_test.php [new file with mode: 0644]
question/type/multichoice/questiontype.php
question/type/multichoice/tests/question_test.php [new file with mode: 0644]
question/type/multichoice/tests/questiontype_test.php [new file with mode: 0644]
question/type/multichoice/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/multichoice/tests/walkthrough_test.php [new file with mode: 0644]
question/type/numerical/question.php
question/type/numerical/questiontype.php
question/type/numerical/tests/answer_test.php [new file with mode: 0644]
question/type/numerical/tests/answerprocessor_test.php [new file with mode: 0644]
question/type/numerical/tests/form_test.php [new file with mode: 0644]
question/type/numerical/tests/helper.php [new file with mode: 0644]
question/type/numerical/tests/question_test.php [new file with mode: 0644]
question/type/numerical/tests/questiontype_test.php [new file with mode: 0644]
question/type/numerical/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/numerical/tests/walkthrough_test.php [new file with mode: 0644]
question/type/random/tests/questiontype_test.php [new file with mode: 0644]
question/type/random/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/shortanswer/tests/helper.php [new file with mode: 0644]
question/type/shortanswer/tests/question_test.php [new file with mode: 0644]
question/type/shortanswer/tests/questiontype_test.php [new file with mode: 0644]
question/type/shortanswer/tests/tupgradelibnewqe_test.php [new file with mode: 0644]
question/type/tests/questionbase_test.php [new file with mode: 0644]
question/type/tests/questiontype_test.php [new file with mode: 0644]
question/type/truefalse/questiontype.php
question/type/truefalse/tests/helper.php [new file with mode: 0644]
question/type/truefalse/tests/question_test.php [new file with mode: 0644]
question/type/truefalse/tests/questiontype_test.php [new file with mode: 0644]
question/type/truefalse/tests/upgradelibnewqe_test.php [new file with mode: 0644]
question/type/truefalse/tests/walkthrough_test.php [new file with mode: 0644]