jsonString = fluid.Scheduler.generateJSONStringForOrderables(orderables); assertTrue("The JSON String should have content.", jsonString.length > 0); assertEquals("The JSON string does not contain the expected content.", "{\"orderable0\":0,\"orderable1\":1,\"orderable2\":2}", jsonString); 
jsonString = fluid.Scheduler.generateJSONStringForOrderables (orderables); assertTrue ("The JSON String should have content.", jsonString.length > 0); assertEquals ("The JSON string does not contain the expected content.", "{\"sortableSchedule.orderable0\":0,\"sortableSchedule.orderable1\":1,\"sortableSchedule.orderable2\":2}", jsonString); 
function testGenerateJSONStringForOrderables () {	var orderables = [jQuery("#" + SchedulerTests.firstMoveableId).get()];	var jsonString = fluid.Scheduler.generateJSONStringForOrderables(orderables);	assertTrue("The JSON string should have content.", jsonString.length > 0);	assertEquals("The JSON string does not contain the expected content.",				 "{\"orderable0\":0}",				 jsonString);		// Test  larger array of elements.	orderables = [		jQuery("#" + SchedulerTests.firstMoveableId).get(),		jQuery("#" + SchedulerTests.secondMoveableId).get(),		jQuery("#" + SchedulerTests.thirdMoveableId).get()	];		jsonString = fluid.Scheduler.generateJSONStringForOrderables(orderables);	assertTrue("The JSON String should have content.", jsonString.length > 0);	assertEquals("The JSON string does not contain the expected content.",				 "{\"orderable0\":0,\"orderable1\":1,\"orderable2\":2}",				 jsonString);}
6971	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6971/5edc2f8fdead391bbdd77bcb3cdbf50540bc2a7e/SchedulerTests.js/buggy/src/webapp/component-templates/test/tests/SchedulerTests.js