test("before(String|Element|Array&lt;Element&gt;|jQuery)", function() { expect(4); var expected = 'This is a normal link: bugaYahoo'; $('#yahoo').before('<b>buga</b>'); ok( expected == $('#en').text(), 'Insert String before' ); 
test("prepend(String|Element|Array&lt;Element&gt;|jQuery)", function() { expect(5); var defaultText = 'Try them out:' var result = $('#first').prepend('<b>buga</b>'); ok( result.text() == 'buga' + defaultText, 'Check if text prepending works' ); ok( $('#select3').prepend('<option value="prependTest">Prepend Test</option>').find('option:first-child').attr('value') == 'prependTest', 'Prepending html options to select element'); 
test("before(String|Element|Array&lt;Element&gt;|jQuery)", function() {	expect(4);	var expected = 'This is a normal link: bugaYahoo';	$('#yahoo').before('<b>buga</b>');	ok( expected == $('#en').text(), 'Insert String before' );		reset();	expected = "This is a normal link: Try them out:Yahoo";	$('#yahoo').before(document.getElementById('first'));	ok( expected == $('#en').text(), "Insert element before" );		reset();	expected = "This is a normal link: Try them out:diveintomarkYahoo";	$('#yahoo').before([document.getElementById('first'), document.getElementById('mark')]);	ok( expected == $('#en').text(), "Insert array of elements before" );		reset();	expected = "This is a normal link: Try them out:diveintomarkYahoo";	$('#yahoo').before($("#first, #mark"));	ok( expected == $('#en').text(), "Insert jQuery before" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/3728a8ac0494de7ccab48bfc69f5d71496ba64c2/coreTest.js/buggy/src/jquery/coreTest.js