Mercurial > hg > webaudioevaluationtool
changeset 2239:27f3cbb3a960
Updated test creator to reflect latest specification edits.
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 15 Apr 2016 15:56:45 +0100 |
parents | 6ffef0759d29 |
children | f80f7b713a7c 152eada7bd03 |
files | test_create/attributes.json test_create/test_core.js |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test_create/attributes.json Fri Apr 15 13:24:53 2016 +0100 +++ b/test_create/attributes.json Fri Apr 15 15:56:45 2016 +0100 @@ -23,5 +23,8 @@ "label": "Label", "calibration": "Perform Calibration", "preSilence": "Pre Silence", - "postSilence": "Post Silence" + "postSilence": "Post Silence", + "poolSize": "Pool Size", + "alwaysInclude": "Always Include", + "crossFade": "Cross Fade" }
--- a/test_create/test_core.js Fri Apr 15 13:24:53 2016 +0100 +++ b/test_create/test_core.js Fri Apr 15 15:56:45 2016 +0100 @@ -1248,7 +1248,8 @@ value = this.default; } if (this.input.type == "checkbox") { - this.input.checked = value; + if (value == "true" || value == "True") {this.input.checked = false;} + else {this.input.checked = false;} } else { this.input.value = value; }