<property name="sessionFactory" ref="sessionFactory" />\r
</bean>\r
\r
+ <bean id="testRunDescriptorDao"\r
+ parent="slcTemplates.dao.testRunDescriptorDao">\r
+ <property name="sessionFactory" ref="sessionFactory" />\r
+ </bean>\r
+\r
<bean id="slcExecutionDao"\r
parent="slcTemplates.dao.slcExecutionDao">\r
<property name="sessionFactory" ref="sessionFactory" />\r
<h1>Result #${result.uuid}</h1>\r
\r
<jsp:useBean id="describedPaths" type="java.util.SortedMap"\r
- scope="request" /> \r
-<jsp:useBean id="toc" type="java.util.SortedMap"\r
+ scope="request" /> <jsp:useBean id="toc" type="java.util.SortedMap"\r
scope="request" />\r
\r
<table>\r
<tr>\r
<td class="${part.status == 0 ? 'passed' : 'failed'}">\r
${part.message}</td>\r
+ <c:if test="${part.testRunUuid!=null}">\r
+ <td>\r
+ <a href="testRunView.web?uuid=${part.testRunUuid}">related\r
+ test run</a>\r
+ </td>\r
+ </c:if>\r
</tr>\r
</c:forEach>\r
</table>\r
--- /dev/null
+<?xml version="1.0" encoding="ISO-8859-1" ?>\r
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"\r
+ pageEncoding="ISO-8859-1"%>\r
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>\r
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>\r
+\r
+<%@include file="header.txt"%>\r
+<jsp:include page="common.jsp" />\r
+\r
+<div id="main">\r
+<h1>TestRun #${testRunDescriptor.testRunUuid}</h1>\r
+\r
+<c:if test="${testRunDescriptor.slcExecutionUuid !=null}">\r
+ Related SLC Execution: <a\r
+ href="slcExecutionView.web?uuid=${testRunDescriptor.slcExecutionUuid}">${testRunDescriptor.slcExecutionUuid}</a>\r
+ <br />\r
+ <c:if test="${testRunDescriptor.slcExecutionStepUuid !=null}">\r
+ Related SLC Execution Step: <a\r
+ href="slcExecutionView.web?uuid=${testRunDescriptor.slcExecutionUuid}#step_${testRunDescriptor.slcExecutionStepUuid}">${testRunDescriptor.slcExecutionStepUuid}</a>\r
+ <br />\r
+ </c:if>\r
+</c:if> <c:if test="${testRunDescriptor.testResultUuid !=null}">\r
+ Related Test Result: <a\r
+ href="resultView.web?uuid=${testRunDescriptor.testResultUuid}">${testRunDescriptor.testResultUuid}</a>\r
+ <br />\r
+</c:if> \r
+\r
+<c:if test="${testRunDescriptor.deployedSytemId !=null}">\r
+ Related Deployed System: ${testRunDescriptor.deployedSytemId}\r
+ <br />\r
+</c:if>\r
+\r
+ <%@include file="footer.txt"%>
\ No newline at end of file
<property name="viewName" value="resultView" />\r
</bean>\r
\r
+ <bean name="/testRunView.web"\r
+ class="org.argeo.slc.web.mvc.result.TestRunViewController">\r
+ <constructor-arg ref="testRunDescriptorDao" />\r
+ <property name="viewName" value="testRunView" />\r
+ </bean>\r
+\r
<bean id="handlerMapping"\r
class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping">\r
</bean>\r
<bean name="resultPartRequestEp"\r
class="org.argeo.slc.ws.test.tree.ResultPartRequestEp">\r
<constructor-arg ref="testResultDao" />\r
+ <constructor-arg ref="testRunDescriptorDao" />\r
<property name="marshaller" ref="slcDefault.castor.marshaller" />\r
<property name="unmarshaller"\r
ref="slcDefault.castor.marshaller" />\r