rem: test("next([String])", function() { expect(4); ok( $("#ap").next()[0].id == "foo", "Simple next check" ); ok( $("#ap").next("div")[0].id == "foo", "Filtered next check" ); ok( $("#ap").next("p").length == 0, "Filtered next check, no match" ); ok( $("#ap").next("div, p")[0].id == "foo", "Multiple filters" ); 
add: 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" ); 
context: test("next([String])", function() {	expect(4);	ok( $("#ap").next()[0].id == "foo", "Simple next check" );	ok( $("#ap").next("div")[0].id == "foo", "Filtered next check" );	ok( $("#ap").next("p").length == 0, "Filtered next check, no match" );	ok( $("#ap").next("div, p")[0].id == "foo", "Multiple filters" );});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/e3263063e4ef3d2e0ee6b74b9da573bf40e87668/coreTest.js/buggy/src/jquery/coreTest.js