test("$.ajaxSetup({timeout: Number}) with localtimeout", function() { stop(); $.ajaxSetup({timeout: 50});  $.ajax({ type: "GET", timeout: 5000, url: url("data/name.php?wait=1"), error: function() { ok( false, 'Check for local timeout failed' ); start(); }, success: function() { ok( true, 'Check for local timeout' ); start(); } });   $.ajaxSetup({timeout: 0}); }); 
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); 
test("$.ajaxSetup({timeout: Number}) with localtimeout", function() {	stop();	$.ajaxSetup({timeout: 50});	$.ajax({	  type: "GET",	  timeout: 5000,	  url: url("data/name.php?wait=1"),	  error: function() {		   ok( false, 'Check for local timeout failed' );		   start();	  },	  success: function() {	    ok( true, 'Check for local timeout' );	    start();	  }	});	// reset timeout	$.ajaxSetup({timeout: 0});});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/62d84e44ac3b4a3673c320514bbf5ac8dc7712d6/ajax.js/buggy/test/unit/ajax.js