Clover coverage report -
Coverage timestamp: Sat Jul 7 2007 16:41:13 CEST
file stats: LOC: 46   Methods: 5
NCLOC: 22   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
MultiplierSessionTest.java - 100% 100% 100%
coverage
 1    /*
 2    * MultiplierSessionTest.java
 3    *
 4    * Created on February 5, 2007, 9:28 PM
 5    *
 6    * To change this template, choose Tools | Template Manager
 7    * and open the template in the editor.
 8    */
 9   
 10    package jtr.test.jee.client;
 11   
 12    import jtr.enterprise.ServiceLocator;
 13    import jtr.runners.AbstractRunner;
 14    import jtr.test.IOutcome;
 15    import jtr.test.jee.MultiplierSessionRemote;
 16   
 17    /**
 18    *
 19    * @author frusso
 20    */
 21    public class MultiplierSessionTest extends AbstractRunner {
 22   
 23    /** Creates a new instance of MultiplierSessionTest */
 24  20 public MultiplierSessionTest() {
 25    }
 26   
 27   
 28  9995 public void test() throws Throwable {
 29  9994 MultiplierSessionRemote msr = ServiceLocator.<MultiplierSessionRemote>getEJBObject(ejbName, MultiplierSessionRemote.class, getEnterprise());
 30  9995 System.out.println("Received message is "+msr.multiply(x,y));
 31    }
 32   
 33  4 public void receiveFailureNotification(Throwable throwable, String string) {
 34    }
 35   
 36  20 public void cleanupResources() {
 37    }
 38   
 39  10000 public void enrichOutcome(IOutcome outcome) {
 40  10000 outcome.setUserObject("Running against "+getEnterprise().getUniqueName()+
 41    "\nEJB JNDI name is: "+ejbName);
 42    }
 43   
 44    private String ejbName;
 45    private double x,y;
 46    }