rem: function testResults(data, index) { var test = tests[index]; 
add: function testResults(data, index) { var test = tests[index]; 
context: function testResults(data, index){    var test = tests[index];    if (test == null)    {        alert("no test found: index=" + index + ", tests.length=" + tests.length);        return;    }    var passed = testEquals(data, test.data, 0);    var numele = $("t" + index + "-num");    execreport.innerHTML = (index + 1);    if (typeof passed == "boolean" && passed)    {        numele.style.backgroundColor = "lightgreen";        DWRUtil.setValue("t" + index + "-results", "Passed");    }    else    {        var report = test.code + "<br/>&nbsp;&nbsp;" + passed + "<br/>&nbsp;&nbsp;Expected: " + DWRUtil.toDescriptiveString(test.data) + " Actual: " + DWRUtil.toDescriptiveString(data);        failcount++;        failreport.innerHTML = failcount;        if (failcount == 1)        {            // This is the first failure - make the bar go red            progress.style.backgroundColor = "red";        }        numele.style.backgroundColor = "lightpink";        DWRUtil.setValue("t" + index + "-results", report);    }    checkTidyUp(index + 1);}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/a6659fd28de5e0d001fe9e46da6cdb9dd78104c0/testsuite.js/buggy/web/testsuite.js