changeset 3016:f5bfac0557bb

Examples update to comply with new specification
author Brecht De Man <b.deman@qmul.ac.uk>
date Mon, 11 Sep 2017 21:58:05 +0100
parents 7eb029906f81
children 03b0e5dc57e6
files tests/examples/AB_example.xml tests/examples/APE_example.xml tests/examples/mushra_example.xml tests/examples/radio_example.xml
diffstat 4 files changed, 11 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/tests/examples/AB_example.xml	Wed Sep 06 18:45:03 2017 +0100
+++ b/tests/examples/AB_example.xml	Mon Sep 11 21:58:05 2017 +0100
@@ -45,10 +45,6 @@
                 <metricenable>elementListenTracker</metricenable>
             </metric>
             <interface>
-                <interfaceoption type="check" name="fragmentMoved" />
-                <interfaceoption type="check" name="scalerange" min="25" max="75">
-                    <errormessage>Test Error Message</errormessage>
-                </interfaceoption>
                 <interfaceoption type="show" name='playhead' />
                 <interfaceoption type="show" name="page-count" />
                 <interfaceoption type="show" name='volume' />
--- a/tests/examples/APE_example.xml	Wed Sep 06 18:45:03 2017 +0100
+++ b/tests/examples/APE_example.xml	Mon Sep 11 21:58:05 2017 +0100
@@ -15,7 +15,7 @@
                     <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>
@@ -123,7 +123,7 @@
                     <option name="Good"></option>
                     <option name="Great">Great</option>
                 </commentradio>
-                <commentcheckbox id="character" type="checkbox">
+                <commentcheckbox id="character">
                     <statement>Please describe the overall character</statement>
                     <option name="funky">Funky</option>
                     <option name="mellow">Mellow</option>
--- a/tests/examples/mushra_example.xml	Wed Sep 06 18:45:03 2017 +0100
+++ b/tests/examples/mushra_example.xml	Mon Sep 11 21:58:05 2017 +0100
@@ -112,24 +112,24 @@
             <audioelement url="5.wav" gain="0.0" id="track-10" />
             <audioelement url="1.wav" gain="0.0" id="track-11" type="outside-reference" />
             <commentquestions>
-                <commentquestion id='mixingExperience' type="question">
+                <commentquestion id='mixingExperience'>
                     <statement>What is your general experience with numbers?</statement>
                 </commentquestion>
-                <commentquestion id="preference" type="radio">
+                <commentradio id="preference">
                     <statement>Please enter your overall preference</statement>
                     <option name="worst">Very Bad</option>
                     <option name="bad"></option>
                     <option name="OK">OK</option>
                     <option name="Good"></option>
                     <option name="Great">Great</option>
-                </commentquestion>
-                <commentquestion id="character" type="checkbox">
+                </commentradio>
+                <commentcheckbox id="character">
                     <statement>Please describe the overall character</statement>
                     <option name="funky">Funky</option>
                     <option name="mellow">Mellow</option>
                     <option name="laidback">Laid back</option>
                     <option name="heavy">Heavy</option>
-                </commentquestion>
+                </commentcheckbox>
             </commentquestions>
             <survey location="before">
                 <surveyentry type="statement" id="test-1-intro">
--- a/tests/examples/radio_example.xml	Wed Sep 06 18:45:03 2017 +0100
+++ b/tests/examples/radio_example.xml	Mon Sep 11 21:58:05 2017 +0100
@@ -29,9 +29,9 @@
                     <scalelabel position="100">(5) Inaudible</scalelabel>
                 </scales>
             </interface>
-            <audioelement url="0.wav" id="track-1" alwaysInclude="true" />
-            <audioelement url="1.wav" id="track-2" />
-            <audioelement url="3.wav" id="track-4" />
-            <audioelement url="3.wav" id="track-5" />
+            <audioelement url="0.wav" id="track-0" alwaysInclude="true" />
+            <audioelement url="1.wav" id="track-1" />
+            <audioelement url="2.wav" id="track-2" />
+            <audioelement url="3.wav" id="track-3" />
         </page>
     </waet>