$("#first, #mark").replaceAll("#yahoo"); ok( $("#first")[0], 'Replace element with set of elements' ); ok( $("#mark")[0], 'Replace element with set of elements' ); ok( !$("#yahoo")[0], 'Verify that original element is gone, after set of elements' ); 
expected = "This is a normal link: YahooTry them out:diveintomark"; $("#mark, #first").insertAfter('#yahoo'); ok( expected == $('#en').text(), "Insert jQuery after" ); 
test("replaceAll(String|Element|Array&lt;Element&gt;|jQuery)", function() {	expect(10);	$('<b id="replace">buga</b>').replaceAll("#yahoo");	ok( $("#replace")[0], 'Replace element with string' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after string' );		reset();	$(document.getElementById('first')).replaceAll("#yahoo");	ok( $("#first")[0], 'Replace element with element' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after element' );	reset();	$([document.getElementById('first'), document.getElementById('mark')]).replaceAll("#yahoo");	ok( $("#first")[0], 'Replace element with array of elements' );	ok( $("#mark")[0], 'Replace element with array of elements' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after array of elements' );		reset();	$("#first, #mark").replaceAll("#yahoo");	ok( $("#first")[0], 'Replace element with set of elements' );	ok( $("#mark")[0], 'Replace element with set of elements' );	ok( !$("#yahoo")[0], 'Verify that original element is gone, after set of elements' );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/e3263063e4ef3d2e0ee6b74b9da573bf40e87668/coreTest.js/clean/src/jquery/coreTest.js