Clover coverage report -
Coverage timestamp: Sat Jul 7 2007 16:41:13 CEST
file stats: LOC: 94   Methods: 0
NCLOC: 18   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
SystemProperties.java - - - -
coverage
 1    /**
 2    * JTRunner is free software; you can redistribute it and/or modify it under the
 3    * terms of the GNU General Public License as published by the Free Software
 4    * Foundation; either version 2, or (at your option) any later version.
 5    */
 6   
 7    package jtr.test;
 8   
 9    /**
 10    * This class defines all of the mnemonic names of those system properties
 11    * required by the JTRunner runtime.
 12    *
 13    * @author Francesco Russo (frusso@dev.java.net)
 14    * @version 4.0
 15    * @since 1.0
 16    */
 17    public class SystemProperties {
 18    /**
 19    * The path to the jtr.xml configuration file.
 20    */
 21    public static final String JTR_TEST_CONFIGURATION = "jtr.test.Test.config";
 22   
 23    /**
 24    * The path to the log4j configuration file.
 25    */
 26    public static final String LOG4J_CONFIGURATION = "log4j.configuration";
 27   
 28    /**
 29    * The port number the registry should be assigned to.
 30    */
 31    public static final String RMI_REGISTRY_PORT = "jtr.remote.test.port";
 32    /**
 33    * The default port number the registry gets assigned to.
 34    */
 35    public static final Integer DEF_RMI_REGISTRY_PORT = 1099;
 36   
 37    /**
 38    * If using a remote registry, this is the host the registry is running on,
 39    * and on which the JTR remote services will be bound, otherwise it defaults
 40    * to localhost.
 41    */
 42    public static final String RMI_REGISTRY_HOST = "jtr.remote.test.host";
 43    /**
 44    * The default value for the <code>jtr.remote.test.host</code> property.
 45    */
 46    public static final String DEF_RMI_REGISTRY_HOST = "localhost";
 47    /**
 48    * The value of this property represents the host name string that should be
 49    * associated with remote stubs for locally created remote objects, in order
 50    * to allow clients to invoke methods on the remote object.
 51    */
 52    public static final String REMOTE_STUBS_HOST = "java.rmi.server.hostname";
 53   
 54    /**
 55    * Recognized service name for those components responsible of receiving
 56    * test configurations from remote JTR-nodes, in order to locally launch
 57    * new test sessions.
 58    */
 59    public static final String TEST_GW_SERVICE_NAME = "JTR-TestGatewayService";
 60    /**
 61    * System property for specifying the port the GatewayService must use.
 62    */
 63    public static final String TEST_GW_SERVICE_PORT_PROPERTY = "jtr.gw.port";
 64    /**
 65    * Default port for the GatewayService.
 66    */
 67    public static final Integer TEST_GW_SERVICE_PORT = 21978;
 68    /**
 69    * Recognized service name for those components responsible of providing
 70    * classes to those JTR passive nodes involved in a distributed test session.
 71    */
 72    public static final String SERVER_CLASS_LOADER_SERVICE_NAME = "JTR-ServerClassLoader";
 73    /**
 74    * System property for specifying the port the ClassLoaderService must use.
 75    */
 76    public static final String TEST_CLASS_LOADER_SERVICE_PORT_PROPERTY = "jtr.cl.port";
 77    /**
 78    * Default port for the ClassLoaderService.
 79    */
 80    public static final Integer TEST_CLASS_LOADER_SERVICE_PORT = 21979;
 81    /**
 82    * Recognized service name for those components in charge of collecting JTR
 83    * test outcomes from remote nodes, for showing them to the end-user later-on.
 84    */
 85    public static final String TEST_OUTCOME_COLLECTOR_SERVICE_NAME = "JTR-TestOutcomeCollector";
 86    /**
 87    * System property for specifying the port the OutcomeCollectorService must use.
 88    */
 89    public static final String TEST_OUTCOME_COLLECTOR_SERVICE_PORT_PROPERTY = "jtr.oc.port";
 90    /**
 91    * Default port for the OutcomeCollectorService.
 92    */
 93    public static final Integer TEST_OUTCOME_COLLECTOR_SERVICE_PORT = 21980;
 94    }