1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 package util;
28 
29 /**
30  * This interfaces describes some key names which are used in <CODE>lib.TestParameters</CODE>.
31  */
32 
33 public interface PropertyName {
34     /**
35      * parameter name: "AppExecutionCommand"
36      */
37     final public static String APP_EXECUTION_COMMAND = "AppExecutionCommand";
38     /**
39      * parameter name: "AppKillCommand"
40      */
41     final public static String APP_KILL_COMMAND = "AppKillCommand";
42     /**
43      * parameter name: "ConnectionString"
44      */
45     final public static String CONNECTION_STRING = "ConnectionString";
46     final public static String PIPE_CONNECTION_STRING = "PipeConnectionString";
47     final public static String USE_PIPE_CONNECTION = "UsePipeConnection";
48 
49     /**
50      * parameter name: "TestBase"
51      */
52     final public static String TEST_BASE = "TestBase";
53     /**
54      * parameter name: "TestDocumentPath"
55      */
56     final public static String TEST_DOCUMENT_PATH = "TestDocumentPath";
57     /**
58      * parameter name: "LoggingIsActive"
59      */
60     final public static String LOGGING_IS_ACTIVE = "LoggingIsActive";
61     /**
62      * parameter name: "DebugIsActive"
63      */
64     final public static String DEBUG_IS_ACTIVE = "DebugIsActive";
65     /**
66      * parameter name: "OutProduceer"
67      */
68     final public static String OUT_PRODUCER = "OutProducer";
69     /**
70      * parameter name: "ShortWait"
71      */
72     final public static String SHORT_WAIT= "ShortWait";
73     /**
74      * internal only, no parameter
75      */
76     final public static String OFFICE_PROVIDER = "OfficeProvider";
77     /**
78      * internal only, no parameter
79      */
80     final public static String OFFICE_WATCHER = "Watcher";
81     /**
82      * internal only, no parameter
83      */
84     final public static String LOG_WRITER = "LogWriter";
85     /**
86      * parameter name: "TimeOut"<p>
87      * time out given in milli seconds
88      */
89     final public static String TIME_OUT = "TimeOut";
90     /**
91      * parameter name: "ThreadTimeOut"
92      */
93     final public static String THREAD_TIME_OUT = "ThreadTimeOut";
94     /**
95      * parameter name: "OfficeCloseTimeOut"
96      */
97     final public static String OFFICE_CLOSE_TIME_OUT = "OfficeCloseTimeOut";
98     /**
99      * parameter name: "OperatingSystem"
100      */
101     final public static String OPERATING_SYSTEM = "OperatingSystem";
102     /**
103      * parameter name: "AutoRestart"
104      */
105     final public static String AUTO_RESTART = "AutoRestart";
106     /**
107      * parameter name: "NewOfficeInstance"
108      */
109     final public static String NEW_OFFICE_INSTANCE = "NewOfficeInstance";
110     /**
111      * parameter name: "KeepDocument"
112      */
113     final public static String KEEP_DOCUMENT = "KeepDocument";
114     /**
115      * parameter name: "SRC_ROOT"<p>
116      * path to the source root of OpenOffice.org
117      */
118     final public static String SRC_ROOT = "SRC_ROOT";
119     /**
120      * parameter name: "Version"<p>
121      * the name of the version to test
122      */
123     final public static String VERSION = "Version";
124 
125     /**
126      * parameter name "Shell"<p>
127      * Path to a shell.
128      * This shell is used to run some commands outside of Java
129      * example: /bin/tcsh c:\\myShell\\myShell.exe
130      */
131     final public static String SHELL = "Shell";
132     /**
133      * parameter name "Cygwin"<p>
134      * If Cygwin is set to TRUE it indicates if the runner runs in a Cygwin
135      * environment
136      */
137     final public static String CYGWIN = "Cygwin";
138     /**
139      * parameter name: "NoCwsAttach"<p>
140      * If this paraeter is set to "true" , a status of CWS-UnoAPI-Tests was not attached to EIS<p>
141      * @see tests.complex.unoapi.CheckModuleAPI
142      */
143     final public static String NO_CWS_ATTACH = "NoCwsAttach";
144     /**
145      * internal only, no parameter
146      */
147     final public static String WNTMSCI = "wntmsci";
148     /**
149      * internal only, no parameter
150      */
151     final public static String UNXLNGI = "unxlngi";
152     /**
153      * internal only, no parameter
154      */
155     final public static String UNXSOLS = "unxsols";
156     /**
157      * internal only, no parameter
158      */
159     final public static String UNXSOLI = "unxsoli";
160     /**
161      * internal only, no parameter
162      */
163     final public static String UNXMACXI = "unxmacxi";
164 
165     /**
166      * can be used to dont backup the user layer, faster office start/stop but less secure default is to backup the user layer
167      */
168     final public static String DONT_BACKUP_USERLAYER = "DontBackupUserLayer";
169 }
170