rem: test("$.extend(Object, Object)", function() { expect(2); var settings = { xnumber1: 5, xnumber2: 7, xstring1: "peter", xstring2: "pan" }, options =     { xnumber2: 1, xstring2: "x", xxx: "newstring" }, optionsCopy = { xnumber2: 1, xstring2: "x", xxx: "newstring" }, merged = { xnumber1: 5, xnumber2: 1, xstring1: "peter", xstring2: "x", xxx: "newstring" }; jQuery.extend(settings, options); isSet( settings, merged, "Check if extended: settings must be extended" ); isSet ( options, optionsCopy, "Check if not modified: options must not be modified" ); 
add: 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' ); 
context: test("$.extend(Object, Object)", function() {	expect(2);	var settings = { xnumber1: 5, xnumber2: 7, xstring1: "peter", xstring2: "pan" },		options =     { xnumber2: 1, xstring2: "x", xxx: "newstring" },		optionsCopy = { xnumber2: 1, xstring2: "x", xxx: "newstring" },		merged = { xnumber1: 5, xnumber2: 1, xstring1: "peter", xstring2: "x", xxx: "newstring" };	jQuery.extend(settings, options);	isSet( settings, merged, "Check if extended: settings must be extended" );	isSet ( options, optionsCopy, "Check if not modified: options must not be modified" );});
meta: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/200319ea6b6a59daebce1cfc1d330a9d52c208c0/coreTest.js/clean/src/jquery/coreTest.js