diff tests/examples/APE_example.xml @ 2928:b2dcdd55721d

Examples: replace deprecated 'surveyentry'
author Brecht De Man <b.deman@qmul.ac.uk>
date Tue, 12 Sep 2017 12:06:44 +0100
parents 4ae62d4c5c6d
children ca1abc3d8ef6 03b0e5dc57e6
line wrap: on
line diff
--- a/tests/examples/APE_example.xml	Wed Sep 06 18:44:42 2017 +0100
+++ b/tests/examples/APE_example.xml	Tue Sep 12 12:06:44 2017 +0100
@@ -15,29 +15,29 @@
                     <option name="researcher">Research in the field of audio</option>
                 </surveycheckbox>
                 <surveyquestion id="instrument" mandatory="false">
-                    <statement>What instrument did you play</statement>
+                    <statement>What instrument did you play?</statement>
                 </surveyquestion>
                 <surveystatement id="test-intro">
                     <statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
                 </surveystatement>
             </survey>
             <survey location="after">
-                <surveyentry type="question" id="location" mandatory="true" boxsize="large">
+                <surveyquestion id="location" mandatory="true" boxsize="large">
                     <statement>Please enter your location. (example mandatory text question)</statement>
-                </surveyentry>
-                <surveyentry type="number" id="age" min="0">
+                </surveyquestion>
+                <surveynumber id="age" min="0">
                     <statement>Please enter your age (example non-mandatory number question)</statement>
-                </surveyentry>
-                <surveyentry type="radio" id="rating">
+                </surveynumber>
+                <surveyradio id="rating">
                     <statement>Please rate this interface (example radio button question)</statement>
                     <option name="bad">Bad</option>
                     <option name="poor">Poor</option>
                     <option name="good">Good</option>
                     <option name="great">Great</option>
-                </surveyentry>
-                <surveyentry type="statement" id="thankyou">
+                </surveyradio>
+                <surveystatement id="thankyou">
                     <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
-                </surveyentry>
+                </surveystatement>
             </survey>
             <metric>
                 <metricenable>testTimer</metricenable>