test("parents([String])", function() { expect(5); ok( $("#groups").parents()[0].id == "ap", "Simple parents check" ); ok( $("#groups").parents("p")[0].id == "ap", "Filtered parents check" ); ok( $("#groups").parents("div")[0].id == "main", "Filtered parents check2" ); isSet( $("#groups").parents("p, div").get(), q("ap", "main"), "Check for multiple filters" ); isSet( $("#en, #sndp").parents().get(), q("foo", "main", "dl", "body", "html"), "Check for unique results from parents" ); 
test("children([String])", function() { expect(3); isSet( $("#foo").children().get(), q("sndp", "en", "sap"), "Check for children" ); isSet( $("#foo").children("[code]").get(), q("sndp", "sap"), "Check for filtered children" ); isSet( $("#foo").children("#en, #sap").get(), q("en", "sap"), "Check for multiple filters" ); 
test("parents([String])", function() {	expect(5);	ok( $("#groups").parents()[0].id == "ap", "Simple parents check" );	ok( $("#groups").parents("p")[0].id == "ap", "Filtered parents check" );	ok( $("#groups").parents("div")[0].id == "main", "Filtered parents check2" );	isSet( $("#groups").parents("p, div").get(), q("ap", "main"), "Check for multiple filters" );	isSet( $("#en, #sndp").parents().get(), q("foo", "main", "dl", "body", "html"), "Check for unique results from parents" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/e3263063e4ef3d2e0ee6b74b9da573bf40e87668/coreTest.js/clean/src/jquery/coreTest.js