-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-23545 question: XML import/export add category description
- Loading branch information
John Beedell
committed
Sep 14, 2018
1 parent
674ef9b
commit 1dab8fa
Showing
13 changed files
with
1,037 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
question/format/xml/tests/fixtures/categories_reverse_order.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<quiz> | ||
<!-- question: 0 --> | ||
<question type="category"> | ||
<category> | ||
<text>$course$/Sigma/Tau</text> | ||
</category> | ||
<info format="html"> | ||
<text>This is Tau category for test</text> | ||
</info> | ||
</question> | ||
|
||
<!-- question: 106 --> | ||
<question type="essay"> | ||
<name> | ||
<text>Tau Question</text> | ||
</name> | ||
<questiontext format="moodle_auto_format"> | ||
<text>Testing Tau Question</text> | ||
</questiontext> | ||
<generalfeedback format="moodle_auto_format"> | ||
<text></text> | ||
</generalfeedback> | ||
<defaultgrade>1.0000000</defaultgrade> | ||
<penalty>0.0000000</penalty> | ||
<hidden>0</hidden> | ||
<responseformat>editor</responseformat> | ||
<responserequired>1</responserequired> | ||
<responsefieldlines>15</responsefieldlines> | ||
<attachments>0</attachments> | ||
<attachmentsrequired>0</attachmentsrequired> | ||
<graderinfo format="html"> | ||
<text></text> | ||
</graderinfo> | ||
<responsetemplate format="html"> | ||
<text></text> | ||
</responsetemplate> | ||
</question> | ||
|
||
<!-- question: 0 --> | ||
<question type="category"> | ||
<category> | ||
<text>$course$/Sigma</text> | ||
</category> | ||
<info format="html"> | ||
<text>This is Sigma category for test</text> | ||
</info> | ||
</question> | ||
|
||
<!-- question: 105 --> | ||
<question type="shortanswer"> | ||
<name> | ||
<text>Sigma Question</text> | ||
</name> | ||
<questiontext format="moodle_auto_format"> | ||
<text>Testing Sigma Question</text> | ||
</questiontext> | ||
<generalfeedback format="moodle_auto_format"> | ||
<text></text> | ||
</generalfeedback> | ||
<defaultgrade>1.0000000</defaultgrade> | ||
<penalty>0.3333333</penalty> | ||
<hidden>0</hidden> | ||
<usecase>0</usecase> | ||
<answer fraction="100" format="moodle_auto_format"> | ||
<text>yes</text> | ||
<feedback format="html"> | ||
<text></text> | ||
</feedback> | ||
</answer> | ||
<answer fraction="0" format="moodle_auto_format"> | ||
<text>no</text> | ||
<feedback format="html"> | ||
<text></text> | ||
</feedback> | ||
</answer> | ||
<answer fraction="0" format="moodle_auto_format"> | ||
<text>may be</text> | ||
<feedback format="html"> | ||
<text></text> | ||
</feedback> | ||
</answer> | ||
</question> | ||
</quiz> |
Oops, something went wrong.