Mercurial > hg > webaudioevaluationtool
diff tests/examples/AB_example.xml @ 2774:2fc62a50d593
#145. Added minWait to all <surveyx> elements. Specify the amount of time to wait in seconds.
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 21 Apr 2017 14:03:51 +0100 |
parents | 8188efa9415d |
children | 46105b2573fc |
line wrap: on
line diff
--- a/tests/examples/AB_example.xml Fri Apr 21 13:44:21 2017 +0100 +++ b/tests/examples/AB_example.xml Fri Apr 21 14:03:51 2017 +0100 @@ -2,38 +2,38 @@ <waet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test-schema.xsd"> <setup interface="AB" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" playOne="true"> <survey location="before"> - <surveyentry type="question" id="sessionId" mandatory="true"> + <surveyquestion id="sessionId" mandatory="true"> <statement>Please enter your name.</statement> - </surveyentry> - <surveyentry type="checkbox" id="checkboxtest" mandatory="true"> + </surveyquestion> + <surveycheckbox id="checkboxtest" mandatory="true"> <statement>Please select with which activities you have any experience (example checkbox question)</statement> <option name="musician">Playing a musical instrument</option> <option name="soundengineer">Recording or mixing audio</option> <option name="developer">Developing audio software</option> <option name="hwdesigner">Designing or building audio hardware</option> <option name="researcher">Research in the field of audio</option> - </surveyentry> - <surveyentry type="statement" id="test-intro"> + </surveycheckbox> + <surveystatement id="test-intro"> <statement>This is an example of an 'AB'-style test, with two pages, using the test stimuli in 'example_eval/'. The 'playOne' configuration option means a fragment has to be finished playing before another fragment can be auditioned. </statement> - </surveyentry> + </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="test-thank-you"> + </surveyradio> + <surveystatement id="test-thank-you"> <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> @@ -61,14 +61,14 @@ <audioelement url="0.wav" id="track-0" /> <audioelement url="1.wav" id="track-1" /> <survey location="before"> - <surveyentry type="statement" id="test-0-intro"> + <surveystatement id="test-0-intro"> <statement>A two way comparison using randomised element order, automatic loudness and synchronised looping.</statement> - </surveyentry> + </surveystatement> </survey> <survey location="after"> - <surveyentry type="question" id="genre-0" mandatory="true"> + <surveyquestion id="genre-0" mandatory="true"> <statement>Please enter the genre.</statement> - </surveyentry> + </surveyquestion> </survey> </page> <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' loudness="-12"> @@ -84,14 +84,14 @@ <audioelement url="5.wav" id="track-7" /> <audioelement url="6.wav" id="track-8" /> <survey location="before"> - <surveyentry type="statement" id="test-1-intro"> + <surveystatement id="test-1-intro"> <statement>A 7 way comparison using randomised element order and synchronised looping.</statement> - </surveyentry> + </surveystatement> </survey> <survey location="after"> - <surveyentry type="question" id="genre-1" mandatory="true"> + <surveyquestion id="genre-1" mandatory="true"> <statement>Please enter the genre.</statement> - </surveyentry> + </surveyquestion> </survey> </page> </waet>