function exposeTestFunctionNames() { return [ 'testDirectSelection', 'testWindowSelection' ]; } function assertSelected(item) { var ds = tm.datasets["test"], items = ds.getItems(); assertEquals('Item ' + item.getTitle() + ' has not been selected', item, tm.getSelected()); assertTrue('Item ' + item.getTitle() + ' thinks it is not selected', item.isSelected()); for (var x=0; x' + this.getInfoHtml() + '
'); }, "closeInfoWindow": function() { $('#custom3').remove(); } } } ] } } ] }); setUpPageStatus = "complete"; } function setUp() { tm.setSelected(undefined); }