var x = $('#yahoo'); x.parent(); ok( 'Yahoo' == $('#yahoo').text(), 'Check for non-destructive behaviour' ); 
reset(); expected = "This is a normal link: YahooTry them out:"; $(document.getElementById('first')).insertAfter('#yahoo'); ok( expected == $('#en').text(), "Insert element after" );  reset(); expected = "This is a normal link: YahooTry them out:diveintomark"; $([document.getElementById('mark'), document.getElementById('first')]).insertAfter('#yahoo'); ok( expected == $('#en').text(), "Insert array of elements after" );  reset(); expected = "This is a normal link: YahooTry them out:diveintomark"; $("#mark, #first").insertAfter('#yahoo'); ok( expected == $('#en').text(), "Insert jQuery after" ); 
test("end()", function() {	expect(3);	ok( 'Yahoo' == $('#yahoo').parent().end().text(), 'Check for end' );	ok( $('#yahoo').end(), 'Check for end with nothing to end' );		var x = $('#yahoo');	x.parent();	ok( 'Yahoo' == $('#yahoo').text(), 'Check for non-destructive behaviour' );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/495ecb70b2b097e7d4a1ffe46d44562210cdc051/coreTest.js/clean/src/jquery/coreTest.js