rem: function assertEqualsCollection(descr, expected, actual,ignoreCase) { 
add: function assertEqualsCollection(descr, expected, actual) { 
context:   function assertEqualsCollection(descr, expected, actual,ignoreCase) {    //    //  if they aren't the same size, they aren't equal    assertEquals(descr, expected.length, actual.length);    //    //  if there length is the same, then every entry in the expected list    //     must appear once and only once in the actual list    var expectedLen = expected.length;    var expectedValue;    var actualLen = actual.length;    var i;    var j;    var matches;    for(i = 0; i < expectedLen; i++) {        matches = 0;        expectedValue = expected[i];        for(j = 0; j < actualLen; j++) {            if(expectedValue == actual[j]) {                matches++;            }            else {				if(ignoreCase && expectedValue.toLowerCase() == actual[j].toLowerCase()) {					matches++;				}			}        }        if(matches == 0) {            assert(descr + ": No match found for " + expectedValue,false);        }        if(matches > 1) {            assert(descr + ": Multiple matches found for " + expectedValue, false);        }    }  }
meta: 7959	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7959/9ad569eb33627608e74e6c359fccf98250360822/DOMTestCase.js/clean/ecmascript/DOMTestCase.js