rem: ok( pass, "Remove multiple classes" );  reset(); var div = $("div:eq(0)").addClass("test").removeClass(""); ok( div.is('.test'), "Empty string passed to removeClass" );  
add: ok( pass, "Add Class" );  
context: test("removeClass(String) - simple", function() {	expect(4);	var div = $("div").addClass("test").removeClass("test"),		pass = true;	for ( var i = 0; i < div.size(); i++ ) {		if ( div.get(i).className.indexOf("test") != -1 ) pass = false;	}	ok( pass, "Remove Class" );		reset();	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" );		reset();	var div = $("div:eq(0)").addClass("test").removeClass("");	ok( div.is('.test'), "Empty string passed to removeClass" );		// using contents will get regular, text, and comment nodes	var j = $("#nonnodes").contents();	j.removeClass("asdf");	ok( !j.hasClass("asdf"), "Check node,textnode,comment for removeClass" );});
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/279f77e9609fba62c11a06f8c65221b16f7bc7d4/core.js/buggy/test/unit/core.js