rem: /* now we empty and refill.  empty and refill scrolls to the * top of the scrolltable.  we can't *really* make sure it * didn't throw an exception, because the exception would get * thrown as a result of a browser scroll event caused by * emptyAndRefill(), but we can at least check that it didn't * cause any extra scroll events */ self.scrollingWidget.browserOriginatedScrollCount = 0; return self.scrollingWidget.emptyAndRefill(); 
add: var scroller = self.scrollingWidget;  /* even number, no "Frob" action */ var actions = scroller.getActionsForRow( scroller.model.getRowData(1));  self.assertEqual(actions.length, 1); self.assertEqual(actions[0].name, "delete");  /* odd number, "Frob" action */ actions = scroller.getActionsForRow( scroller.model.getRowData(2));  self.assertEqual(actions.length, 2); self.assertEqual(actions[0].name, "delete"); self.assertEqual(actions[1].name, "frob"); 
context:             function() {                /* now we empty and refill.  empty and refill scrolls to the                 * top of the scrolltable.  we can't *really* make sure it                 * didn't throw an exception, because the exception would get                 * thrown as a result of a browser scroll event caused by                 * emptyAndRefill(), but we can at least check that it didn't                 * cause any extra scroll events                 */                self.scrollingWidget.browserOriginatedScrollCount = 0;                return self.scrollingWidget.emptyAndRefill();            });
meta: 3455	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3455/35b7047ef87be917eb89e78d2b82951315da1909/Test.js/clean/xmantissa/js/Mantissa/Test.js