Skip to content

Commit

Permalink
missing sample xml.
Browse files Browse the repository at this point in the history
  • Loading branch information
bugalot committed Jul 29, 2015
1 parent 6973113 commit b43ab3b
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions test/samples/custom/runtime/preserve_test_outcomes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<assessmentTest xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.taotesting.com/xsd/qticompact_v1p0.xsd"
identifier="preserve_test_outcomes" title="Preserve Test Outcomes">
<outcomeDeclaration identifier="PRESERVED" baseType="string" cardinality="single">
<defaultValue>
<value>I will be preserved!</value>
</defaultValue>
</outcomeDeclaration>
<outcomeDeclaration identifier="NOTPRESERVED" baseType="integer" cardinality="single">
<defaultValue>
<value>0</value>
</defaultValue>
</outcomeDeclaration>
<testPart identifier="P01" navigationMode="linear" submissionMode="individual">
<assessmentSection identifier="S01" title="Section1" visible="true">
<assessmentItemRef identifier="Q01" href="./Q01.xml" timeDependent="false">
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
<correctResponse>
<value>ChoiceA</value>
</correctResponse>
</responseDeclaration>
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float">
<defaultValue>
<value>0</value>
</defaultValue>
</outcomeDeclaration>
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/>
</assessmentItemRef>
<assessmentItemRef identifier="Q02" href="./Q02.xml" timeDependent="false">
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
<correctResponse>
<value>ChoiceB</value>
</correctResponse>
</responseDeclaration>
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float">
<defaultValue>
<value>0</value>
</defaultValue>
</outcomeDeclaration>
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/>
</assessmentItemRef>
</assessmentSection>
</testPart>
<outcomeProcessing>
<setOutcomeValue identifier="NOTPRESERVED">
<sum>
<variable identifier="NOTPRESERVED"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</outcomeProcessing>
</assessmentTest>

0 comments on commit b43ab3b

Please sign in to comment.