test("load(String, Object, Function) - check scripts", function() { expect(7); stop(); window.testFoo = undefined; window.foobar = null; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated after load' ); ok( $('#ap').html() == 'bar', 'Check if script evaluation has modified DOM'); start(); }; $('#first').load(url('data/test.php'), function() { ok( $('#first').html().match(/^html text/), 'Check content after loading html' ); ok( $('#foo').html() == 'foo', 'Check if script evaluation has modified DOM'); ok( testFoo == "foo", 'Check if script was evaluated after load' ); setTimeout(verifyEvaluation, 600); }); 
test("load(String, Object, Function) - inject without callback", function() { expect(1); stop(true); $('#first').load("data/name.html"); 
test("load(String, Object, Function) - check scripts", function() {	expect(7);	stop();	window.testFoo = undefined;	window.foobar = null;	var verifyEvaluation = function() {	  ok( foobar == "bar", 'Check if script src was evaluated after load' );	  ok( $('#ap').html() == 'bar', 'Check if script evaluation has modified DOM');	  start();	};	$('#first').load(url('data/test.php'), function() {	  ok( $('#first').html().match(/^html text/), 'Check content after loading html' );	  ok( $('#foo').html() == 'foo', 'Check if script evaluation has modified DOM');	  ok( testFoo == "foo", 'Check if script was evaluated after load' );	  setTimeout(verifyEvaluation, 600);	});});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/d776dc9d5c5322e81b56272728325990ed6892bb/ajaxTest.js/buggy/src/ajax/ajaxTest.js