test("expressions - id", function() { expect(13); t( "ID Selector", "#body", ["body"] ); t( "ID Selector w/ Element", "body#body", ["body"] ); t( "ID Selector w/ Element", "ul#first", [] ); t( "ID selector with existing ID descendant", "#firstp #simon1", ["simon1"] ); t( "ID selector with non-existant descendant", "#firstp #foobar", [] );  t( "ID Selector, child ID present", "#form > #radio1", ["radio1"] ); t( "ID Selector, not an ancestor ID", "#form  #first", [] ); t( "ID Selector, not a child ID", "#form > #option1a", [] );  t( "All Children of ID", "#foo/*", ["sndp", "en", "sap"] ); t( "All Children of ID with no children", "#firstUL/*", [] );  $('<a name="tName1">tName1 A</a><a name="tName2">tName2 A</a><div id="tName1">tName1 Div</div>').appendTo('#main'); ok( $("#tName1")[0].id == 'tName1', "ID selector with same value for a name attribute" ); ok( $("#tName2").length == 0, "ID selector non-existing but name attribute on an A tag" );  t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); 
test("broken", function() { expect(7); t( "Broken Selector", "[", [] ); t( "Broken Selector", "(", [] ); t( "Broken Selector", "{", [] ); t( "Broken Selector", "<", [] ); t( "Broken Selector", "()", [] ); t( "Broken Selector", "<>", [] ); t( "Broken Selector", "{}", [] ); 
test("expressions - id", function() {	expect(13);	t( "ID Selector", "#body", ["body"] );	t( "ID Selector w/ Element", "body#body", ["body"] );	t( "ID Selector w/ Element", "ul#first", [] );	t( "ID selector with existing ID descendant", "#firstp #simon1", ["simon1"] );	t( "ID selector with non-existant descendant", "#firstp #foobar", [] );		t( "ID Selector, child ID present", "#form > #radio1", ["radio1"] );  // bug #267	t( "ID Selector, not an ancestor ID", "#form  #first", [] );	t( "ID Selector, not a child ID", "#form > #option1a", [] );		t( "All Children of ID", "#foo/*", ["sndp", "en", "sap"] );	t( "All Children of ID with no children", "#firstUL/*", [] );		$('<a name="tName1">tName1 A</a><a name="tName2">tName2 A</a><div id="tName1">tName1 Div</div>').appendTo('#main');	ok( $("#tName1")[0].id == 'tName1', "ID selector with same value for a name attribute" );	ok( $("#tName2").length == 0, "ID selector non-existing but name attribute on an A tag" );		t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); // bug #986});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/af79bb1f255433d553d8d9dde0306cc340903c1a/selectorTest.js/buggy/src/selector/selectorTest.js