$.getJSON(url("data/json.php"), {json: "array"}, function(json) { ok( json[0].name == 'John', 'Check JSON: first, name' ); ok( json[0].age == 21, 'Check JSON: first, age' ); ok( json[1].name == 'Peter', 'Check JSON: second, name' ); ok( json[1].age == 25, 'Check JSON: second, age' ); start(); 
test("$.ajax - beforeSend", function() { expect(1); stop();  var check = false;  $.ajaxSetup({ timeout: 0 });  $.ajax({ url: url("data/name.html"), beforeSend: function(xml) { check = true; }, success: function(data) { ok( check, "check beforeSend was executed" ); start(); } 
	$.getJSON(url("data/json.php"), {json: "array"}, function(json) {	  ok( json[0].name == 'John', 'Check JSON: first, name' );	  ok( json[0].age == 21, 'Check JSON: first, age' );	  ok( json[1].name == 'Peter', 'Check JSON: second, name' );	  ok( json[1].age == 25, 'Check JSON: second, age' );	  start();	});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/2ef4093cf7f52383dd43bd361864edcda27e5c3c/ajaxTest.js/clean/src/ajax/ajaxTest.js