rem: test("toggleClass(String)", function() { expect(3); var e = $("#firstp"); ok( !e.is(".test"), "Assert class not present" ); e.toggleClass("test"); ok( e.is(".test"), "Assert class present" ); e.toggleClass("test"); ok( !e.is(".test"), "Assert class not present" ); 
add: 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" ); 
context: test("toggleClass(String)", function() {	expect(3);	var e = $("#firstp");	ok( !e.is(".test"), "Assert class not present" );	e.toggleClass("test");	ok( e.is(".test"), "Assert class present" ); 	e.toggleClass("test");	ok( !e.is(".test"), "Assert class not present" );});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/05d401dd8439d8a2137d3fb69a70d671c0d3a69d/coreTest.js/buggy/src/jquery/coreTest.js