ok( !checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" ); 
ok( checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" ); 
test("wrap(String|Element)", function() {	expect(7);	var defaultText = 'Try them out:'	var result = $('#first').wrap('<div class="red"><span></span></div>').text();	ok( defaultText == result, 'Check for wrapping of on-the-fly html' );	ok( $('#first').parent().parent().is('.red'), 'Check if wrapper has class "red"' );	reset();	var defaultText = 'Try them out:'	var result = $('#first').wrap(document.getElementById('empty')).parent();	ok( result.is('ol'), 'Check for element wrapping' );	ok( result.text() == defaultText, 'Check for element wrapping' );		reset();	stop();	$('#check1').click(function() {				var checkbox = this;				ok( !checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" );		$(checkbox).wrap( '<div id="c1" style="display:none;"></div>' );		ok( !checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" );		// use a fade in to check state after this event handler has finished		$("#c1").fadeIn(function() {			ok( checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" );			start();		});	}).click();});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/9c94ef4c411867d38f301ccbf406af21e277188c/coreTest.js/clean/src/jquery/coreTest.js