rem: test("expressions - basic xpath", function() { expect(15); ok( jQuery.find(" t( "All Div Elements", " t( "Absolute Path", "/html/body", ["body"] ); t( "Absolute Path w/ *", "/* /body", ["body"] ); t( "Long Absolute Path", "/html/body/dl/div/div/p", ["sndp","en","sap"] ); t( "Absolute and Relative Paths", "/html t( "All Children, Explicit", " t( "All Children, Implicit", " t( "Attribute Exists", " t( "Attribute Equals", " t( "Parent Axis", " t( "Sibling Axis", " t( "Sibling Axis", " t( "Has Children", " 
add: test("pseudo (:) selctors", function() { expect(30); t( "First Child", "p:first-child", ["firstp","sndp"] ); t( "Last Child", "p:last-child", ["sap"] ); t( "Only Child", "a:only-child", ["simon1","anchor1","yahoo","anchor2"] ); t( "Empty", "ul:empty", ["firstUL"] ); t( "Enabled UI Element", "input:enabled", ["text1","radio1","radio2","check1","check2","hidden1","hidden2","name"] ); t( "Disabled UI Element", "input:disabled", ["text2"] ); t( "Checked UI Element", "input:checked", ["radio2","check1"] ); t( "Selected Option Element", "option:selected", ["option1a","option2d","option3b","option3c"] ); t( "Text Contains", "a:contains('Google')", ["google","groups"] ); t( "Text Contains", "a:contains('Google Groups')", ["groups"] ); t( "Element Preceded By", "p ~ div", ["foo"] ); t( "Not", "a.blog:not(.link)", ["mark"] ); 
context: test("expressions - basic xpath", function() {	expect(15);	ok( jQuery.find("//*").length >= 30, "All Elements (//*)" );	t( "All Div Elements", "//div", ["main","foo"] );	t( "Absolute Path", "/html/body", ["body"] );	t( "Absolute Path w/ *", "/* /body", ["body"] );	t( "Long Absolute Path", "/html/body/dl/div/div/p", ["sndp","en","sap"] );	t( "Absolute and Relative Paths", "/html//div", ["main","foo"] );	t( "All Children, Explicit", "//code/*", ["anchor1","anchor2"] );	t( "All Children, Implicit", "//code/", ["anchor1","anchor2"] );	t( "Attribute Exists", "//a[@title]", ["google"] );	t( "Attribute Equals", "//a[@rel='bookmark']", ["simon1"] );	t( "Parent Axis", "//p/..", ["main","foo"] );	t( "Sibling Axis", "//p/../", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","sndp","en","sap"] );	t( "Sibling Axis", "//p/../*", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","sndp","en","sap"] );	t( "Has Children", "//p[a]", ["firstp","ap","en","sap"] );		$("#foo").each(function() {		isSet( $("/p", this).get(), q("sndp", "en", "sap"), "Check XPath context" );	});});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/af79bb1f255433d553d8d9dde0306cc340903c1a/selectorTest.js/buggy/src/selector/selectorTest.js