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("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" ); 
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: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/e2ef3df86d5f54274bf2b779d882c30aa0886bfe/core.js/clean/test/unit/core.js