test("addClass(String)", function() { expect(1); var div = $("div"); div.addClass("test"); var pass = true; for ( var i = 0; i < div.size(); i++ ) { if ( div.get(i).className.indexOf("test") == -1 ) pass = false; } ok( pass, "Add Class" ); }); 
div.show().each(function(){ if ( this.style.display == "none" ) pass = false; }); 
test("addClass(String)", function() {	expect(1);	var div = $("div");	div.addClass("test");	var pass = true;	for ( var i = 0; i < div.size(); i++ ) {	 if ( div.get(i).className.indexOf("test") == -1 ) pass = false;	}	ok( pass, "Add Class" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1ac9d6fbeed214d59ea5c31a87ff2c19bb08dbc8/core.js/buggy/test/unit/core.js