public function testlistViewProcess() { //execute the method and call methods to get the required child objects set. it should return some html. $view = new ViewList(); $view->seed = new User(); $view->prepareSearchForm(); $view->preDisplay(); ob_start(); $view->listViewProcess(); $renderedContent = ob_get_contents(); ob_end_clean(); $this->assertGreaterThan(0, strlen($renderedContent)); }
function listViewProcess() { parent::listViewProcess(); }
/** * @see ViewList::listViewProcess() */ function listViewProcess() { parent::listViewProcess(); global $app_strings; echo "<form action=\"index.php\" method=\"post\" name=\"EmailManDelivery\" id=\"form\">\n\t\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class='actionsContainer'>\n\t\t\t\t<tr><td style=\"padding-bottom: 2px;\">\n <input type=\"hidden\" name=\"module\" value=\"EmailMan\">\n <input type=\"hidden\" name=\"action\">\n <input type=\"hidden\" name=\"return_module\">\n <input type=\"hidden\" name=\"return_action\">\n <input type=\"hidden\" name=\"manual\" value=\"true\">\n <input\ttitle=\"" . $app_strings['LBL_CAMPAIGNS_SEND_QUEUED'] . "\" \n accessKey=\"" . $app_strings['LBL_SAVE_BUTTON_KEY'] . "\" class=\"button\" \n onclick=\"this.form.return_module.value='EmailMan'; this.form.return_action.value='index'; this.form.action.value='EmailManDelivery'\" \n type=\"submit\" name=\"Send\" value=\"" . $app_strings['LBL_CAMPAIGNS_SEND_QUEUED'] . "\">\n </td></tr></table></form>"; }