rem: test("$.getJSON(String, Function) - Remote JSON object with assignment", function() { expect(2);  var base = window.location.href.replace(/\?.*$/, "");  stop(); $.getJSON(base + "data/json_assigned_obj.js", function() { ok( typeof json_assigned_obj == "object", 'Check JSON loaded' ); equals( json_assigned_obj.test, "worked", 'Check JSON obj.test' ); 
add: $.getJSON(url("data/json.php"), function(json) { ok( json.data.lang == 'en', 'Check JSON: lang' ); ok( json.data.length == 25, 'Check JSON: length' ); 
context: test("$.getJSON(String, Function) - Remote JSON object with assignment", function() {	expect(2);	var base = window.location.href.replace(/\?.*$/, "");	stop();	$.getJSON(base + "data/json_assigned_obj.js", function() {	  ok( typeof json_assigned_obj == "object", 'Check JSON loaded' );	  equals( json_assigned_obj.test, "worked", 'Check JSON obj.test' );	  start();	});});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/c6a44c7943f460594a6a75081ad9bce76fea80f0/ajax.js/buggy/test/unit/ajax.js