private Response makePageHistoryResponse(Request request) { page.setTitle("Page History"); page.put("pageHistory", pageHistory); page.setNavTemplate("viewNav"); page.put("viewLocation", request.getResource()); page.setMainTemplate("pageHistory"); return makeResponse(); }
private Response generateHtmlSuiteExecutionResponse(Request request, SuiteExecutionReport report) throws Exception { page.setTitle("Suite Execution Report"); page.setNavTemplate("viewNav"); page.put("viewLocation", request.getResource()); page.put("suiteExecutionReport", report); page.put("ExecutionResult", ExecutionResult.class); page.setMainTemplate("suiteExecutionReport"); return makeResponse(); }
private Response generateHtmlTestExecutionResponse(Request request, TestExecutionReport report) throws Exception { page.setTitle("Test Execution Report"); page.setNavTemplate("viewNav"); page.put("viewLocation", request.getResource()); page.put("testExecutionReport", report); page.put("ExecutionResult", ExecutionResult.class); page.setMainTemplate("testExecutionReport"); page.setErrorNavTemplate("errorNavigator"); page.put("errorNavOnDocumentReady", true); return makeResponse(); }