%@ page import="org.apache.beehive.netui.tools.testrecorder.shared.config.TestDefinitions, org.apache.beehive.netui.tools.testrecorder.server.TestRecorderFilter, org.apache.beehive.netui.tools.testrecorder.shared.config.WebappConfig, org.apache.beehive.netui.tools.testrecorder.shared.config.Category, org.apache.beehive.netui.tools.testrecorder.shared.config.Categories, org.apache.beehive.netui.tools.testrecorder.shared.Constants, org.apache.beehive.netui.tools.testrecorder.server.state.Session, java.io.File, java.text.SimpleDateFormat, java.util.Calendar, java.util.Date, java.util.List, java.util.Locale"%> <%! // todo: need to clean this up to handle date formats correctly in one place private static final SimpleDateFormat dateFormat = new SimpleDateFormat( "dd MMM, hh:mm:ss aa", Locale.US ); %> <% Calendar calendar = Calendar.getInstance(); Date date = null; TestDefinitions tests = TestRecorderFilter.instance().getTestDefinitions(); WebappConfig webapp = TestRecorderFilter.instance().getWebapp(); Category[] categories = tests.getCategories().getCategories(); Category category = null; String catHref = null; String resultsHref = null; File reportFile = null; %>
Tests for Category | Results |
<%=category.getName()%> | <% if ( resultsHref == null ) { %> <% } else { %> <%=resultsHref%> <% } %> |