rem: var div = $("div").addClass("test").addClass("foo").addClass("bar"); div.removeClass("test").removeClass("bar").removeClass("foo"); var pass = true; for ( var i = 0; i < div.size(); i++ ) { if ( div.get(i).className.match(/test|bar|foo/) ) pass = false; } ok( pass, "Remove multiple classes" ); 
add: var pass = true, div = $("div"); div.show().each(function(){ if ( this.style.display == "none" ) pass = false; }); ok( pass, "Show" ); 
context: test("removeClass(String) - add three classes and remove again", function() {	expect(1);	var div = $("div").addClass("test").addClass("foo").addClass("bar");	div.removeClass("test").removeClass("bar").removeClass("foo");	var pass = true;	for ( var i = 0; i < div.size(); i++ ) {	 if ( div.get(i).className.match(/test|bar|foo/) ) pass = false;	}	ok( pass, "Remove multiple classes" );});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3217/200319ea6b6a59daebce1cfc1d330a9d52c208c0/coreTest.js/buggy/src/jquery/coreTest.js