MDL-20636 make qe upgrade tests independent of html2text details.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 6 Jun 2011 16:05:54 +0000 (17:05 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 6 Jun 2011 16:05:54 +0000 (17:05 +0100)
commit4c5743343fc01185cd95ea296954e52134ea9e40
tree8314d623a46a2e9a2f6dcfe0fc2763fb02d66023
parent0370e3ab0dd493124070e5d4134338403013d2fc
MDL-20636 make qe upgrade tests independent of html2text details.

Based on Eloy's change, but refactored to be slightly nicer.
14 files changed:
local/qeupgradehelper/locallib.php
question/engine/upgrade/simpletest/helper.php
question/type/calculated/db/simpletest/testupgradelibnewqe.php
question/type/calculatedmulti/db/simpletest/testupgradelibnewqe.php
question/type/calculatedsimple/db/simpletest/testupgradelibnewqe.php
question/type/description/db/simpletest/testupgradelibnewqe.php
question/type/essay/db/simpletest/testupgradelibnewqe.php
question/type/match/db/simpletest/testupgradelibnewqe.php
question/type/multianswer/db/simpletest/testupgradelibnewqe.php
question/type/multichoice/db/simpletest/testupgradelibnewqe.php
question/type/numerical/db/simpletest/testupgradelibnewqe.php
question/type/random/db/simpletest/testupgradelibnewqe.php
question/type/shortanswer/db/simpletest/testupgradelibnewqe.php
question/type/truefalse/db/simpletest/testupgradelibnewqe.php