rem: test("load(String, Function) - check scripts", function() { expect(7); 
add: test("load(String, Function) - simple: inject text into DOM", function() { expect(2); 
context: test("load(String, Function) - check scripts", function() {	expect(7);	stop();	window.testFoo = undefined;	window.foobar = null;	var verifyEvaluation = function() {	  equals( foobar, "bar", 'Check if script src was evaluated after load' );	  equals( $('#ap').html(), 'bar', 'Check if script evaluation has modified DOM');	  start();	};	$('#first').load(url('data/test.html'), function() {	  ok( $('#first').html().match(/^html text/), 'Check content after loading html' );	  equals( $('#foo').html(), 'foo', 'Check if script evaluation has modified DOM');	  equals( testFoo, "foo", 'Check if script was evaluated after load' );	  setTimeout(verifyEvaluation, 600);	});});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/06c2f06a2183ef17a8119ef25a383a02572c0b55/ajax.js/buggy/test/unit/ajax.js