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"); 
test("addClass(String)", function() { expect(2); var div = $("div"); div.addClass("test"); 
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" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/279f77e9609fba62c11a06f8c65221b16f7bc7d4/core.js/clean/test/unit/core.js