001: package org.objectweb.salome_tmf.api;
002:
003: public interface ApiConstants {
004:
005: final static public int LOADING = 50;
006:
007: // Suppression
008:
009: final static public int DELETE_TEST = 100;
010:
011: final static public int DELETE_SUITE = 101;
012:
013: final static public int DELETE_FAMILY = 102;
014:
015: final static public int DELETE_PARAMETER_FROM_TEST = 103;
016:
017: final static public int DELETE_ACTION = 104;
018: // -------------------------
019: final static public int DELETE_CAMPAIGN = 105;
020:
021: final static public int DELETE_TEST_FROM_CAMPAIGN = 106;
022:
023: final static public int DELETE_DATA_SET = 17;
024:
025: final static public int DELETE_EXECUTION = 108;
026:
027: final static public int DELETE_EXECUTION_RESULT = 109;
028: // -------------------------
029: final static public int DELETE_PARAMETER = 110;
030:
031: final static public int DELETE_ENVIRONMENT = 111;
032: // -------------------------
033: final static public int DELETE_ATTACHMENT = 112; //nolock
034: // -------------------------
035: final static public int DELETE_PROJECT = 113;
036:
037: final static public int DELETE_GROUP = 114;
038:
039: final static public int DELETE_USER = 115;
040:
041: final static public int DELETE_USER_FROM_GROUP = 116;
042:
043: final static public int DELETE_SCRIPT = 117;
044:
045: final static public int DELETE_PARAMETER_INTO_ENV = 118;
046:
047: final static public int DELETE_EXECUTION_TEST_RESULT = 119;
048:
049: final static public int DELETE_PROJECT_CONF = 120;
050: // Insertion
051:
052: final static public int INSERT_TEST = 200;
053:
054: final static public int INSERT_SUITE = 201;
055:
056: final static public int INSERT_FAMILY = 202;
057:
058: final static public int INSERT_ACTION = 203;
059:
060: final static public int INSERT_PARAMETER_INTO_TEST = 204;
061:
062: final static public int INSERT_PARAMETER_INTO_ACTION = 219;
063: // -------------------------
064: final static public int INSERT_CAMPAIGN = 205;
065:
066: final static public int INSERT_TEST_INTO_CAMPAIGN = 206;
067:
068: final static public int INSERT_DATA_SET = 207;
069:
070: final static public int INSERT_ENV_INTO_EXEC = 208;
071:
072: final static public int INSERT_EXECUTION_RESULT = 209;
073:
074: final static public int INSERT_EXECUTION = 210;
075:
076: // -------------------------
077: final static public int INSERT_PARAMETER = 211; //nolock
078:
079: final static public int INSERT_ENVIRONMENT = 212;
080:
081: final static public int INSERT_PARAMETER_INTO_ENV = 213;
082:
083: // -------------------------
084:
085: final static public int INSERT_ATTACHMENT = 214; //nolock
086: // -------------------------
087:
088: final static public int INSERT_USER = 215;
089:
090: final static public int INSERT_PROJECT = 216;
091:
092: final static public int INSERT_GROUP = 217;
093:
094: final static public int INSERT_USER_INTO_GROUP = 218;
095:
096: final static public int INSERT_SCRIPT = 219;
097:
098: final static public int INSERT_EXECUTION_TEST_RESULT = 220;
099: // Update
100:
101: final static public int UPDATE_TEST = 300;
102:
103: final static public int UPDATE_SUITE = 301;
104:
105: final static public int UPDATE_FAMILY = 302;
106:
107: final static public int UPDATE_ACTION = 303;
108:
109: // -------------------------
110: final static public int UPDATE_CAMPAIGN = 304;
111:
112: final static public int UPDATE_EXECUTION = 305;
113:
114: final static public int UPDATE_EXECUTION_RESULT = 306;
115:
116: final static public int UPDATE_DATA_SET = 307;
117:
118: // -------------------------
119: final static public int UPDATE_PARAMETER = 308;
120:
121: final static public int UPDATE_ENVIRONMENT = 309;
122:
123: // -------------------------
124:
125: final static public int UPDATE_ATTACHMENT = 310;
126: // -------------------------
127: final static public int UPDATE_PASSWORD = 311;
128:
129: final static public int UPDATE_USER = 312;
130:
131: final static public int UPDATE_PERMISSION = 313;
132:
133: final static public int UPDATE_PROJECT = 314;
134:
135: final static public int UPDATE_GROUP = 315;
136:
137: final static public int UPDATE_PARAMETER_INTO_ENV = 316;
138:
139: final static public int UPDATE_EXECUTION_TEST_RESULT = 317;
140:
141: // -------------------------
142:
143: final static public int COMMON_REQ = 318;
144: final static public int INSERT_LOCK = 319;
145: final static public int DELETE_LOCK = 320;
146: final static public int READ_LOCK = 321;
147: // BDD Constants
148: // Constantes pour les groupes pr?d?finis
149:
150: /**
151: * Titre du groupe des administrateurs
152: */
153: final static public String ADMINNAME = "Administrateur";
154: final static public String ADMINDESC = "Groupe des administrateurs du projet";
155:
156: /**
157: * Titre du groupe des dévleoppeurs
158: */
159: final static public String DEVNAME = "Développeur";
160: final static public String DEVDESC = "Groupe des développeurs";
161:
162: /**
163: * Titre du groupe des invités
164: */
165: final static public String GUESTNAME = "Invité";
166: final static public String GUESTDESC = "Groupe des invites";
167:
168: /**
169: * R?sultat d'un test ou d'une action : succès
170: */
171: final static public String SUCCESS = "PASSED";
172:
173: /**
174: * R?sultat d'un test ou d'une action : ?chec
175: */
176: final static public String FAIL = "FAILED";
177:
178: /**
179: * R?sultat d'un test ou d'une action : non concluant
180: */
181: final static public String UNKNOWN = "INCONCLUSIF";
182:
183: /**
184: * R?sultat de l'ex?cution : interrompue
185: */
186: final static public String INTERRUPT = "STOPPEE";
187:
188: /**
189: * R?sultat de l'ex?cution : incompl?te
190: */
191: final static public String INCOMPLETED = "INCOMPLETE";
192:
193: /**
194: * R?sultat de l'ex?cution : termin?e
195: */
196: final static public String FINISHED = "TERMINEE";
197:
198: /**
199: * Test manuel
200: */
201: final static public String MANUAL = "MANUAL";
202:
203: /**
204: * Test automatique
205: */
206: final static public String AUTOMATIC = "AUTOMATED";
207:
208: final static public String TEST_SCRIPT = "TEST_SCRIPT";
209:
210: final static public String INIT_SCRIPT = "INIT_SCRIPT";
211:
212: final static public String POST_SCRIPT = "POST_SCRIPT";
213:
214: final static public String PRE_SCRIPT = "PRE_SCRIPT";
215:
216: final static public String DEFAULT_FAMILY_NAME = "Famille par defaut";
217: final static public String DEFAULT_FAMILY_DESC = "Famille de test par défaut";
218:
219: /**
220: * Valeur par défaut des noms de suites
221: */
222: final static public String DEFAULT_TESTLIST_NAME = "Suite par defaut";
223: final static public String DEFAULT_TESTLIST_DESC = "Suite de test par défaut";
224:
225: final static public String DEFAULT_DATA_SET = "default dataset";
226:
227: final static public String ADMIN_SALOME_NAME = "AdminSalome";
228: final static public String EMPTY_NAME = "empty";
229: /**
230: * Config file path
231: */
232: final static public String CONFIG_FILE_PATH = "/cfg/DB_Connexion.properties";
233:
234: final static public String PATH_TO_ADD_TO_TEMP = "salome_data";
235:
236: }
|