rem: test("parent[s]([String])", function() { expect(8); 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" );  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" ); 
add: test("siblings([String])", function() { expect(4); isSet( $("#en").siblings().get(), q("sndp", "sap"), "Check for siblings" ); isSet( $("#sndp").siblings("[code]").get(), q("sap"), "Check for filtered siblings (has code child element)" ); isSet( $("#sndp").siblings("[a]").get(), q("en", "sap"), "Check for filtered siblings (has anchor child element)" ); isSet( $("#foo").siblings("form, b").get(), q("form", "floatTest"), "Check for multiple filters" ); 
context: test("parent[s]([String])", function() {	expect(8);	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" );		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" );});
meta: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/3728a8ac0494de7ccab48bfc69f5d71496ba64c2/coreTest.js/buggy/src/jquery/coreTest.js