Coverage report

  %line %branch
org.demosys.web.iteration.action.ShowIterationsAction
0% 
0% 

 1  
 /*
 2  
  * Demosys.
 3  
  *
 4  
  * Terms of license - http://opensource.org/licenses/apachepl.php
 5  
  */
 6  
 package org.demosys.web.iteration.action;
 7  
 import javax.servlet.http.HttpServletRequest;
 8  
 import javax.servlet.http.HttpServletResponse;
 9  
 import org.apache.struts.action.Action;
 10  
 import org.apache.struts.action.ActionForm;
 11  
 import org.apache.struts.action.ActionForward;
 12  
 import org.apache.struts.action.ActionMapping;
 13  
 import org.demosys.web.ServiceLocator;
 14  
 /**
 15  
  */
 16  0
 public class ShowIterationsAction extends Action {
 17  
     public static final String ITERATIONS = "ITERATIONS";
 18  
 
 19  
     public ActionForward execute(ActionMapping mapping, ActionForm objForm,
 20  
         HttpServletRequest request, HttpServletResponse res) {
 21  0
         request.setAttribute(ITERATIONS,
 22  
             ServiceLocator.getServiceLocator().getIterationService().getAllIterations());
 23  
 
 24  0
         return mapping.findForward("success");
 25  
     }
 26  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.