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("not()", function() { expect(3); ok( $("#main > p#ap > a").not("#google").length == 2, "not('selector')" ); isSet( $("p").not("#ap, #sndp, .result").get(), q("firstp", "en", "sap", "first"), "not('selector, selector')" ); isSet( $("p").not($("#ap, #sndp, .result")).get(), q("firstp", "en", "sap", "first"), "not(jQuery)" ); 
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: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/clean/src/jquery/coreTest.js