rem: expected = "This is a normal link: YahooTry them out:"; $('#yahoo').after(document.getElementById('first')); ok( expected == $('#en').text(), "Insert element after" );  reset(); expected = "This is a normal link: YahooTry them out:diveintomark"; $('#yahoo').after([document.getElementById('first'), document.getElementById('mark')]); ok( expected == $('#en').text(), "Insert array of elements after" ); 
add: expected = "This is a normal link: Try them out:Yahoo"; $('#yahoo').before(document.getElementById('first')); ok( expected == $('#en').text(), "Insert element before" ); 
context: test("after(String|Element|Array&lt;Element&gt;|jQuery)", function() {	expect(4);	var expected = 'This is a normal link: Yahoobuga';	$('#yahoo').after('<b>buga</b>');	ok( expected == $('#en').text(), 'Insert String after' );		reset();	expected = "This is a normal link: YahooTry them out:";	$('#yahoo').after(document.getElementById('first'));	ok( expected == $('#en').text(), "Insert element after" );	reset();	expected = "This is a normal link: YahooTry them out:diveintomark";	$('#yahoo').after([document.getElementById('first'), document.getElementById('mark')]);	ok( expected == $('#en').text(), "Insert array of elements after" );		reset();	expected = "This is a normal link: YahooTry them out:diveintomark";	$('#yahoo').after($("#first, #mark"));	ok( expected == $('#en').text(), "Insert jQuery after" );});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/e3263063e4ef3d2e0ee6b74b9da573bf40e87668/coreTest.js/buggy/src/jquery/coreTest.js