rem: this.isJSMethod = eval( ob +"."+ method +" == String.prototype." + method ); 
add: this.isJSMethod = eval( ob +"."+ method +" == String.prototype." + method );  new TestCase( description, expect, this.result );  if ( hasMethod( method, argLength )  ) { new TestCase( ob +"." + method +" == String.prototype." + method, override, this.isJSMethod );  } else  {    
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 );    new TestCase(	description,	expect,	this.result );    if ( hasMethod( method, argLength )  ) {	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	new TestCase(	    ob +"." + method +" == String.prototype." + method,	    override,	    this.isJSMethod );    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/3703c3c05f398a63e55992f7687ef65273b26d6a/string-001.js/clean/js/tests/lc3/StringMethods/string-001.js