comparison core.js @ 914:de1cc98f2889

Small fixes. <interface> tag properly processed by ape.js
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 04 Jun 2015 18:03:36 +0100
parents 62e755ce8d34
children 92aea9ab8060
comparison
equal deleted inserted replaced
913:62e755ce8d34 914:de1cc98f2889
974 var setupNode = projectXML.getElementsByTagName('setup')[0]; 974 var setupNode = projectXML.getElementsByTagName('setup')[0];
975 this.interfaceType = setupNode.getAttribute('interface'); 975 this.interfaceType = setupNode.getAttribute('interface');
976 this.projectReturn = setupNode.getAttribute('projectReturn'); 976 this.projectReturn = setupNode.getAttribute('projectReturn');
977 if (setupNode.getAttribute('randomiseOrder') == "true") { 977 if (setupNode.getAttribute('randomiseOrder') == "true") {
978 this.randomiseOrder = true; 978 this.randomiseOrder = true;
979 } else {this.setup.randomiseOrder = false;} 979 } else {this.randomiseOrder = false;}
980 if (setupNode.getAttribute('collectMetrics') == "true") { 980 if (setupNode.getAttribute('collectMetrics') == "true") {
981 this.collectMetrics = true; 981 this.collectMetrics = true;
982 } else {this.setup.collectMetrics = false;} 982 } else {this.collectMetrics = false;}
983 var metricCollection = setupNode.getElementsByTagName('Metric'); 983 var metricCollection = setupNode.getElementsByTagName('Metric');
984 984
985 this.preTest = new this.prepostNode('pretest',setupNode.getElementsByTagName('PreTest')); 985 this.preTest = new this.prepostNode('pretest',setupNode.getElementsByTagName('PreTest'));
986 this.postTest = new this.prepostNode('posttest',setupNode.getElementsByTagName('PostTest')); 986 this.postTest = new this.prepostNode('posttest',setupNode.getElementsByTagName('PostTest'));
987 987