rem: test("parent([String])", function() { expect(5); ok( $("#groups").parent()[0].id == "ap", "Simple parent check" ); ok( $("#groups").parent("p")[0].id == "ap", "Filtered parent check" ); ok( $("#groups").parent("div").length == 0, "Filtered parent check, no match" ); ok( $("#groups").parent("div, p")[0].id == "ap", "Check for multiple filters" ); isSet( $("#en, #sndp").parent().get(), q("foo"), "Check for unique results from parent" ); 
add: test("children([String])", function() { expect(3); isSet( $("#foo").children().get(), q("sndp", "en", "sap"), "Check for children" ); isSet( $("#foo").children(":has(code)").get(), q("sndp", "sap"), "Check for filtered children" ); isSet( $("#foo").children("#en, #sap").get(), q("en", "sap"), "Check for multiple filters" ); 
context: test("parent([String])", function() {	expect(5);	ok( $("#groups").parent()[0].id == "ap", "Simple parent check" );	ok( $("#groups").parent("p")[0].id == "ap", "Filtered parent check" );	ok( $("#groups").parent("div").length == 0, "Filtered parent check, no match" );	ok( $("#groups").parent("div, p")[0].id == "ap", "Check for multiple filters" );	isSet( $("#en, #sndp").parent().get(), q("foo"), "Check for unique results from parent" );});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/76e3a901530609d3c4a695ccb8a48251445c6861/core.js/clean/test/unit/core.js