-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quiz-data - Unit tests for export_quiz
- Loading branch information
Showing
11 changed files
with
321 additions
and
65 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
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
25 changes: 25 additions & 0 deletions
25
testrepoparent/testrepo_quiz_quiz-1/top/quiz-cat/Quiz-Question-2.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,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<quiz> | ||
<question type="shortanswer"> | ||
<name> | ||
<text>Quiz Question 2</text> | ||
</name> | ||
<questiontext format="html"> | ||
<text><![CDATA[<p dir="ltr" style="text-align: left;">This is a test question.<br></p>]]></text> | ||
</questiontext> | ||
<generalfeedback format="html"> | ||
<text></text> | ||
</generalfeedback> | ||
<defaultgrade>1</defaultgrade> | ||
<penalty>0.3333333</penalty> | ||
<hidden>0</hidden> | ||
<idnumber></idnumber> | ||
<usecase>0</usecase> | ||
<answer fraction="100" format="moodle_auto_format"> | ||
<text>This is a test answer.</text> | ||
<feedback format="html"> | ||
<text></text> | ||
</feedback> | ||
</answer> | ||
</question> | ||
</quiz> |
25 changes: 25 additions & 0 deletions
25
testrepoparent/testrepo_quiz_quiz-1/top/quiz-cat/Quiz-Question-3.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,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<quiz> | ||
<question type="shortanswer"> | ||
<name> | ||
<text>Quiz Question 3</text> | ||
</name> | ||
<questiontext format="html"> | ||
<text><![CDATA[<p dir="ltr" style="text-align: left;">This is a test question.<br></p>]]></text> | ||
</questiontext> | ||
<generalfeedback format="html"> | ||
<text></text> | ||
</generalfeedback> | ||
<defaultgrade>1</defaultgrade> | ||
<penalty>0.3333333</penalty> | ||
<hidden>0</hidden> | ||
<idnumber></idnumber> | ||
<usecase>0</usecase> | ||
<answer fraction="100" format="moodle_auto_format"> | ||
<text>This is a test answer.</text> | ||
<feedback format="html"> | ||
<text></text> | ||
</feedback> | ||
</answer> | ||
</question> | ||
</quiz> |
12 changes: 12 additions & 0 deletions
12
testrepoparent/testrepo_quiz_quiz-1/top/quiz-cat/gitsync_category.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,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<quiz> | ||
<question type="category"> | ||
<category> | ||
<text>top/quiz-cat</text> | ||
</category> | ||
<info format="moodle_auto_format"> | ||
<text>First imported folder</text> | ||
</info> | ||
<idnumber></idnumber> | ||
</question> | ||
</quiz> |
Oops, something went wrong.