beehive/netui/test/webapps/jsf/web/page.jspf

96 lines
3.0 KiB
Plaintext

<%@ page import="org.apache.beehive.netui.tools.testrecorder.shared.config.TestDefinition,
java.net.URL,
java.io.File"%>
<html>
<head>
<title>NetUI V2 BVT - <%= _title %></title>
<link rel="stylesheet" href="<%= ((HttpServletRequest)pageContext.getRequest()).getContextPath() %>/site/style.css">
</head>
<body topmargin="0" leftmargin="0" marginwidth="10" marginheight="10">
<table class="header" width="100%">
<tr>
<td width="200" style="padding:4,0,0,4">
<img src="<%= ((HttpServletRequest)pageContext.getRequest()).getContextPath() %>/images/godzilla.gif" height="66" width="48"/>
</td><td valign="top">
<h1 class="title">NetUI Tests - <%= _title %></h1>
</td></tr>
<tr><td colspan="2">
<hr />
</td></tr>
<td valign="top">
<b>Core Tests<b><br>
<a href="/coreWeb/index.jsp">Core PageFlow Tests &#0150; v1</a><br>
<a href="/coreWeb/coreTests.jsp">Core PageFlow Tests &#0150; v2</a><br>
<a href="/coreWeb/bvtTests2.jsp">Bug Verification Tests &#0150; cr</a><br>
<a href="/coreWeb/bvtTests.jsp">Bug Verification Tests &#0150; b</a><br>
<a href="/coreWeb/databindingTests.jsp">Databinding &#0150; General Tests</a></br>
<a href="/coreWeb/gridTests.jsp">DataBinding &#0150; Grid Tests</a><br>
<a href="/coreWeb/errorTests.jsp">Error Tests</a><br>
<a href="/coreWeb/mockPortalTests.jsp">Mock Portal Tests</a></br>
<a href="/coreWeb/tagTests.jsp">Tag &#0150; General Tests</a><br>
<a href="/coreWeb/treeTests.jsp">Tag &#0150; Tree Tests</a><br>
<a href="/coreWeb/templateTests.jsp">Tag &#0150; Template Tests</a></br>
<a href="xhtml./coreWeb/jsp">Tag &#0150; XHTML Tests</a><br>
<hr>
<b>Optional Tests</b></br>
<a href="faces.jsp">Faces Tests</a><br>
<hr />
<a href="#Bottom">Goto Bottom</a></br>
</td><td valign='top'>
<span style="background-color:white">
<!-- Errors Table -->
<table border="1" width="100%" cellspacing="0">
<tr><th>DRT</th>
<th>Details</th>
<th>Diff</th>
<th>Description</th>
<th>Coverage</th>
</tr>
<%
for (int i=0;i<_testList.length;i++) {
%>
<tr>
<td width="100pt"><a href="<%= _testList[i]._href %>"><%= _testList[i]._test %></a></td>
<td width="60pt" align="center"><a href="<%= ((HttpServletRequest)pageContext.getRequest()).getContextPath() %>/testRecorder?mode=details&file=<%= _testList[i]._test %>">Details</a></td>
<td width="100pt" align="center">
<%
TestDefinition def = testDefs.getTest( _testList[i]._test );
if ( def == null ) {
%>
<strong>Not Found: <%= _testList[i]._test %></strong>
<%
}
else {
File file = new File( def.getResultDiffFilePath() );
if ( file.exists() ) {
%>
<a href="/netuiDRT/testRecorder?mode=diff&file=<%= def.getName() %>">Diff</a>
<%
}
else {
%>
&nbsp;
<%
}
}
%>
</td>
<td width="400pt"><%= _testList[i]._description %></td>
<td><%= _testList[i]._coverage %></td>
</tr>
<%
}
%>
<!-- The end of the Errors table-->
</table>
</table>
</span>
</td></tr>
</table>
<a name="Bottom">
</body>
</html>