rem: test("$.extend(Object, Object, Object, Object)", function() { expect(4); var defaults = { xnumber1: 5, xnumber2: 7, xstring1: "peter", xstring2: "pan" }, defaultsCopy = { xnumber1: 5, xnumber2: 7, xstring1: "peter", xstring2: "pan" }, options1 =     { xnumber2: 1, xstring2: "x" }, options1Copy = { xnumber2: 1, xstring2: "x" }, options2 =     { xstring2: "xx", xxx: "newstringx" }, options2Copy = { xstring2: "xx", xxx: "newstringx" }, merged = { xnumber1: 5, xnumber2: 1, xstring1: "peter", xstring2: "xx", xxx: "newstringx" }; var settings = jQuery.extend({}, defaults, options1, options2); isObj( settings, merged, "Check if extended: settings must be extended" ); isObj( defaults, defaultsCopy, "Check if not modified: options1 must not be modified" ); isObj( options1, options1Copy, "Check if not modified: options1 must not be modified" ); isObj( options2, options2Copy, "Check if not modified: options2 must not be modified" ); 
add: test("val()", function() { expect(2); ok( $("#text1").val() == "Test", "Check for value of input element" ); ok( !$("#text1").val() == "", "Check for value of input element" ); 
context: test("$.extend(Object, Object, Object, Object)", function() {	expect(4);	var defaults = { xnumber1: 5, xnumber2: 7, xstring1: "peter", xstring2: "pan" },		defaultsCopy = { xnumber1: 5, xnumber2: 7, xstring1: "peter", xstring2: "pan" },		options1 =     { xnumber2: 1, xstring2: "x" },		options1Copy = { xnumber2: 1, xstring2: "x" },		options2 =     { xstring2: "xx", xxx: "newstringx" },		options2Copy = { xstring2: "xx", xxx: "newstringx" },		merged = { xnumber1: 5, xnumber2: 1, xstring1: "peter", xstring2: "xx", xxx: "newstringx" };	var settings = jQuery.extend({}, defaults, options1, options2);	isObj( settings, merged, "Check if extended: settings must be extended" );	isObj( defaults, defaultsCopy, "Check if not modified: options1 must not be modified" );	isObj( options1, options1Copy, "Check if not modified: options1 must not be modified" );	isObj( options2, options2Copy, "Check if not modified: options2 must not be modified" );});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/b147039acc32884b50b955ebd94eeaa430713786/coreTest.js/clean/src/jquery/coreTest.js