test("wrap(String|Element)", function() { expect(4); 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' ); 
test("text()", function() { var expected = "This link has class=\"blog\": Simon Willison's Weblog"; ok( $('#sap').text() == expected, 'Check for merged text of more then one element.' ); 
test("wrap(String|Element)", function() {	expect(4);	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' );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/53e12752e00c2a86757ec15a0c871dee8ccd1bea/coreTest.js/buggy/src/jquery/coreTest.js