rem: if ( hasMethod( method, argLength )  ) { testcases[tc++] = new TestCase( ob +"." + method +" == String.prototype." + method, override, this.isJSMethod ); 
add: if ( hasMethod( method, argLength )  ) { new TestCase( ob +"." + method +" == String.prototype." + method, override, this.isJSMethod ); 
context:     function TestObject( description, ob, method, argLength, override, expect ) {        this.description = description;        this.object = ob;        this.method = method;        this.override = override        this.argLength = argLength;        this.expect;        this.result = eval(description);        this.isJSMethod = eval( ob +"."+ method +" == String.prototype." + method );        testcases[tc++] = new TestCase(            description,            expect,            this.result );        if ( hasMethod( method, argLength )  ) {            testcases[tc++] = new TestCase(                ob +"." + method +" == String.prototype." + method,                override,                this.isJSMethod );        } else  {            // If the java class has no method with that name and number of            // arguments, the value of the method should be the value of            // String.prototype.methodName            testcases[tc++] = new TestCase(                ob +"." + method +" == String.prototype." + method,                override,                this.isJSMethod );        }    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/a4b2d8f8cef9b41987ff744a26c5a99776a37d4a/string-001.js/buggy/js/tests/lc3/StringMethods/string-001.js