-
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.
- Loading branch information
Showing
8 changed files
with
753 additions
and
55 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
2 changes: 1 addition & 1 deletion
2
testrepoparent/testrepo/fakeexportquiz_course_course-1_question_manifest.json
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
42 changes: 42 additions & 0 deletions
42
testrepoparent/testrepo/fakeimportquiz_course_course-1_question_manifest.json
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,42 @@ | ||
{ | ||
"context": { | ||
"contextlevel": 50, | ||
"coursename": "", | ||
"modulename": "", | ||
"coursecategory": "", | ||
"instanceid": "5", | ||
"defaultsubdirectory": "top\/cat-2", | ||
"defaultsubcategoryid": 5 | ||
}, | ||
"questions": [ | ||
{ | ||
"questionbankentryid": "35001", | ||
"filepath": "\/top\/cat-1\/First-Question.xml", | ||
"importedversion": "1", | ||
"exportedversion": "1", | ||
"format": "xml" | ||
}, | ||
{ | ||
"questionbankentryid": "35002", | ||
"filepath": "\/top\/cat-2\/subcat-2_1\/Third-Question.xml", | ||
"importedversion": "6", | ||
"exportedversion": "7", | ||
"format": "xml" | ||
}, | ||
{ | ||
"questionbankentryid": "35004", | ||
"filepath": "\/top\/cat-2\/subcat-2_1\/Fourth-Question.xml", | ||
"importedversion": "1", | ||
"exportedversion": "1", | ||
"currentcommit": "35004test", | ||
"format": "xml" | ||
}, | ||
{ | ||
"questionbankentryid": "35003", | ||
"filepath": "\/top\/cat-2\/Second-Question.xml", | ||
"importedversion": "1", | ||
"exportedversion": "1", | ||
"format": "xml" | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
...oparent/testrepo_quiz_quiz-1/fakeimportquiz_module_course-1_quiz-1_question_manifest.json
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,27 @@ | ||
{ | ||
"context": { | ||
"contextlevel": 70, | ||
"coursename": "", | ||
"modulename": "Import quiz", | ||
"coursecategory": "", | ||
"instanceid": "", | ||
"defaultsubdirectory": "top", | ||
"defaultsubcategoryid": 5 | ||
}, | ||
"questions": [ | ||
{ | ||
"questionbankentryid": "36001", | ||
"filepath": "\/top\/Quiz-Question.xml", | ||
"importedversion": "1", | ||
"exportedversion": "1", | ||
"format": "xml" | ||
}, | ||
{ | ||
"questionbankentryid": "36002", | ||
"filepath": "\/top\/quiz-cat\/Quiz-Question-2.xml", | ||
"importedversion": "1", | ||
"exportedversion": "1", | ||
"format": "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,39 @@ | ||
{ | ||
"quiz": { | ||
"name": "Quiz 1", | ||
"intro": "Quiz intro", | ||
"introformat": "0", | ||
"questionsperpage": "0", | ||
"grade": "100.00000", | ||
"navmethod": "free" | ||
}, | ||
"sections": [ | ||
{ | ||
"firstslot": "1", | ||
"heading": "Heading 1", | ||
"shufflequestions": 0 | ||
}, | ||
{ | ||
"firstslot": "2", | ||
"heading": "Heading 2", | ||
"shufflequestions": 0 | ||
} | ||
], | ||
"questions": [ | ||
{ | ||
"quizfilepath": "\/top\/Quiz-Question.xml", | ||
"slot": "1", | ||
"page": "1", | ||
"requireprevious": 0, | ||
"maxmark": "1.0000000" | ||
} | ||
], | ||
"feedback": [ | ||
{ | ||
"feedbacktext": "Quiz feedback", | ||
"feedbacktextformat": "0", | ||
"mingrade": "0.0000000", | ||
"maxgrade": "50.000000" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.