rem: test("attr(String, Function)", function() { expect(2); ok( $('#text1').attr('value', function() { return this.id })[0].value == "text1", "Set value from id" ); ok( $('#text1').attr('title', function(i) { return i }).attr('title') == "0", "Set value with an index"); }); 
add: $.get("data/dashboard.xml", function(xml) { ok( $("locations", xml).attr("class") == "foo", "Check class attribute in XML document" ); ok( $("location", xml).attr("for") == "bar", "Check for attribute in XML document" ); start(); }); 
context: test("attr(String, Function)", function() {	expect(2);	ok( $('#text1').attr('value', function() { return this.id })[0].value == "text1", "Set value from id" );	ok( $('#text1').attr('title', function(i) { return i }).attr('title') == "0", "Set value with an index");});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/2ef4093cf7f52383dd43bd361864edcda27e5c3c/coreTest.js/buggy/src/jquery/coreTest.js