diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-11 14:55:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-14 10:59:47 +0200 |
commit | 25e4635d3537bbdf389301bceef5b122824e98af (patch) | |
tree | ed40b54888c3791ae3855e622f653775539f319b /qadevOOo/runner/util | |
parent | 1714027ebe17fdce9a2cb46bf852886ea23a22ca (diff) |
clean upo runner.lib.TestParameters
- remove unused fields
- make all external code go through the get(XXX)
methods instead of also using the default values
- remove default values
declarations and inline them, since they are now unnecessary.
Change-Id: Idc875fbd133de90044647f3e3b1feb225d81a643
Diffstat (limited to 'qadevOOo/runner/util')
-rw-r--r-- | qadevOOo/runner/util/PropertyName.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qadevOOo/runner/util/PropertyName.java b/qadevOOo/runner/util/PropertyName.java index baeb78b1805b..4aa864dc4fcc 100644 --- a/qadevOOo/runner/util/PropertyName.java +++ b/qadevOOo/runner/util/PropertyName.java @@ -24,6 +24,8 @@ package util; public interface PropertyName { /** * parameter name: "AppExecutionCommand" + * The AppExecutionCmd contains the full qualified<br> + * command to an Application to be started. */ final public static String APP_EXECUTION_COMMAND = "AppExecutionCommand"; /** @@ -39,6 +41,8 @@ public interface PropertyName { /** * parameter name: "TestBase" + * The Testbase to be executed by the runner<br> + * default is 'java_fat' */ final public static String TEST_BASE = "TestBase"; /** @@ -47,6 +51,9 @@ public interface PropertyName { final public static String TEST_DOCUMENT_PATH = "TestDocumentPath"; /** * parameter name: "LoggingIsActive" + * 'true' is a log should be written, 'false' elsewhere <br> + * these will be provided by the testcases<br> + * default is true */ final public static String LOGGING_IS_ACTIVE = "LoggingIsActive"; /** @@ -55,14 +62,20 @@ public interface PropertyName { final public static String DEBUG_IS_ACTIVE = "DebugIsActive"; /** * parameter name: "OutProduceer" + * This parameter contains the class used<br> + * for Logging */ final public static String OUT_PRODUCER = "OutProducer"; /** * parameter name: "ShortWait" + * Short wait time for the Office: default is 500 milliseconds */ final public static String SHORT_WAIT= "ShortWait"; /** * internal only, no parameter + * The OfficeProvider contains the full qualified + * class that provides a connection to StarOffice<br> + * default is helper.OfficeProvider */ final public static String OFFICE_PROVIDER = "OfficeProvider"; /** @@ -71,19 +84,27 @@ public interface PropertyName { final public static String OFFICE_WATCHER = "Watcher"; /** * internal only, no parameter + * This parameter contains the class used<br> + * for Logging */ final public static String LOG_WRITER = "LogWriter"; /** * parameter name: "TimeOut"<p> * time out given in milli seconds + * This parameter contains the timeout used<br> + * by the watcher */ final public static String TIME_OUT = "TimeOut"; /** * parameter name: "ThreadTimeOut" + * This parameter contains the timeout used<br> + * by the complex tests */ final public static String THREAD_TIME_OUT = "ThreadTimeOut"; /** * parameter name: "OfficeCloseTimeOut" + * This parameter contains the time which the office could use to close for + * itself before it is destroyed. Default is 15000 ms */ final public static String OFFICE_CLOSE_TIME_OUT = "OfficeCloseTimeOut"; /** @@ -92,6 +113,10 @@ public interface PropertyName { final public static String OPERATING_SYSTEM = "OperatingSystem"; /** * parameter name: "AutoRestart" + * If this parameter is <CODE>true</CODE> the <CODE>OfficeProvider</CODE> tries + * to get the URL to the binary of the office and to fill the + * <CODE>AppExecutionCommand</CODE> with useful content if needed. + * Default is false. */ final public static String AUTO_RESTART = "AutoRestart"; /** |