rem: test("empty()", function() { expect(2); ok( $("#ap").children().empty().text().length == 0, "Check text is removed" ); ok( $("#ap").children().length == 4, "Check elements are not removed" ); 
add: test("$.className", function() { expect(6); var x = $("<p>Hi</p>")[0]; var c = $.className; c.add(x, "hi"); ok( x.className == "hi", "Check single added class" ); c.add(x, "foo bar"); ok( x.className == "hi foo bar", "Check more added classes" ); c.remove(x); ok( x.className == "", "Remove all classes" ); c.add(x, "hi foo bar"); c.remove(x, "foo"); ok( x.className == "hi bar", "Check removal of one class" ); ok( c.has(x, "hi"), "Check has1" ); ok( c.has(x, "bar"), "Check has2" ); 
context: test("empty()", function() {	expect(2);	ok( $("#ap").children().empty().text().length == 0, "Check text is removed" );	ok( $("#ap").children().length == 4, "Check elements are not removed" );});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/clean/test/unit/core.js