Added test for #174; Modified failing (IE) tests for find

This commit is contained in:
Jörn Zaefferer 2006-10-13 14:56:14 +00:00
parent bfa8306633
commit e7669f64d8
3 changed files with 37 additions and 3 deletions

View file

@ -661,6 +661,16 @@ jQuery.extend({
* }
* });
*
* @test stop();
* $.ajax({
* url: "data/with_fries.xml", dataType: "xml", type: "GET", data: "", success: function(resp) {
* ok( $("properties", resp).length == 1, 'properties in responseXML' );
* ok( $("jsconf", resp).length == 1, 'jsconf in responseXML' );
* ok( $("thing", resp).length == 2, 'things in responseXML' );
* start();
* }
* });
*
* @name $.ajax
* @type jQuery
* @param Hash prop A set of properties to initialize the request with.

View file

@ -1661,9 +1661,9 @@ jQuery.extend({
* t( "Attribute Exists", "*[@title]", ["google"] );
* t( "Attribute Exists", "[@title]", ["google"] );
*
* t( "Non-existing part of attribute [@name*=bla]", "[@name*=bla]", [] );
* t( "Non-existing start of attribute [@name^=bla]", "[@name^=bla]", [] );
* t( "Non-existing end of attribute [@name$=bla]", "[@name$=bla]", [] );
* t( "Non-existing part of attribute", "[@name*=bla]", [] );
* t( "Non-existing start of attribute", "[@name^=bla]", [] );
* t( "Non-existing end of attribute", "[@name$=bla]", [] );
*
* t( "Attribute Equals", "a[@rel='bookmark']", ["simon1"] );
* t( "Attribute Equals", 'a[@rel="bookmark"]', ["simon1"] );