test("load('url selector')", function() { expect(1); stop(true); $('#first').load("data/test3.html div.user", function(){ equals( $(this).children("div").length, 2, "Verify that specific elements were injected" ); start(); }); 
test("global ajaxSettings", function() { expect(3);  var tmp = jQuery.extend({}, jQuery.ajaxSettings); var orig = { url: "data/with_fries.xml", data: null }; var t;  $.ajaxSetup({ data: {foo: 'bar', bar: 'BAR'} });  t = jQuery.extend({}, orig); $.ajax(t); ok( t.url.indexOf('foo') > -1 && t.url.indexOf('bar') > -1, "Check extending null" );  t = jQuery.extend({}, orig); t.data = {}; $.ajax(t); ok( t.url.indexOf('foo') > -1 && t.url.indexOf('bar') > -1, "Check extending {}" );  t = jQuery.extend({}, orig); t.data = { zoo: 'a', ping: 'b' }; $.ajax(t); ok( t.url.indexOf('ping') > -1 && t.url.indexOf('zoo') > -1 && t.url.indexOf('foo') > -1 && t.url.indexOf('bar') > -1, "Check extending { zoo: 'a', ping: 'b' }" );  jQuery.ajaxSettings = tmp; 
test("load('url selector')", function() {	expect(1);	stop(true); // check if load can be called with only url	$('#first').load("data/test3.html div.user", function(){		equals( $(this).children("div").length, 2, "Verify that specific elements were injected" );		start();	});});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/aee221d33c2db2c76639dabeca2b1e3d022e348e/ajax.js/buggy/test/unit/ajax.js