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" ); 
isSet( $("#en").siblings().get(), q("sndp", "sap"), "Check for siblings" ); isSet( $("#sndp").siblings(":has(code)").get(), q("sap"), "Check for filtered siblings (has code child element)" ); isSet( $("#sndp").siblings(":has(a)").get(), q("en", "sap"), "Check for filtered siblings (has anchor child element)" ); isSet( $("#foo").siblings("form, b").get(), q("form", "lengthtest", "testForm", "floatTest"), "Check for multiple filters" ); isSet( $("#en, #sndp").siblings().get(), q("sndp", "sap", "en"), "Check for unique results from siblings" ); 
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" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/buggy/test/unit/core.js