001: /*
002: * SalomeTMF is a Test Management Framework
003: * Copyright (C) 2005 France Telecom R&D
004: *
005: * This library is free software; you can redistribute it and/or
006: * modify it under the terms of the GNU Lesser General Public
007: * License as published by the Free Software Foundation; either
008: * version 2 of the License, or (at your option) any later version.
009: *
010: * This library is distributed in the hope that it will be useful,
011: * but WITHOUT ANY WARRANTY; without even the implied warranty of
012: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013: * Lesser General Public License for more details.
014: *
015: * You should have received a copy of the GNU Lesser General Public
016: * License along with this library; if not, write to the Free Software
017: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
018: *
019: * @author Fayçal SOUGRATI
020: *
021: * Contact: mikael.marche@rd.francetelecom.com
022: */
023:
024: package org.objectweb.salome_tmf.api.api2ihm.suiteTest;
025:
026: /**
027: * Fonctions de suppression relatives à l'aire fonctionnelle "Suites de test"
028: */
029: public interface SuiteTestDelete {
030:
031: /**
032: * Fonction qui fixe le projet SalomeTMF dans lequel l'utilisateur travaille
033: * @param projectName
034: */
035: public void setProject(String projectName);
036:
037: /**
038: * Suppression d'une suite de test
039: * @param nameFamily
040: * @param NameSuite
041: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
042: */
043: public void deleteSuite(String nameFamily, String NameSuite);
044:
045: /**
046: * Suppression d'une suite de test
047: * @param suiteId
048: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
049: */
050: public void deleteSuiteUsingID(int suiteId);
051:
052: /**
053: * Suppression d'une famille de test
054: * @param name
055: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
056: */
057: public void deleteFamily(String name);
058:
059: /**
060: * Suppression d'une famille de test
061: * @param familyId
062: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
063: */
064: public void deleteFamilyUsingID(int familyId);
065:
066: /**
067: * Suppression d'un test d'une suite de test
068: * @param nameFamily
069: * @param nameSuite
070: * @param nameTest
071: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
072: */
073: public void deleteTest(String nameFamily, String nameSuite,
074: String nameTest);
075:
076: /**
077: * Suppression d'un test d'une suite de test
078: * @param testId
079: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
080: */
081: public void deleteTestUsingID(int testId);
082:
083: /**
084: * Suppression d'une action d'un test manuel
085: * @param nameFamily
086: * @param nameSuite
087: * @param nameTest
088: * @param nameAction
089: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
090: */
091: public void deleteAction(String nameFamily, String nameSuite,
092: String nameTest, String nameAction);
093:
094: /**
095: * Suppression d'une action d'un test manuel
096: * @param actionId
097: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
098: */
099: public void deleteActionUsingID(int actionId);
100:
101: /**
102: * Suppression d'un parametre d'un test : N'entraine PAS la suppression du parametre de test du projet
103: * @param nameFamily
104: * @param nameSuite
105: * @param nameTest
106: * @param nameParam
107: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
108: */
109: public void deleteParamFromTest(String nameFamily,
110: String nameSuite, String nameTest, String nameParam);
111:
112: /**
113: * Suppression d'un parametre d'un test : N'entraine PAS la suppression du parametre de test du projet
114: * @param testId
115: * @param paramId
116: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
117: */
118: public void deleteParamFromTestUsingID(int testId, int paramId);
119:
120: /**
121: * Suppression d'un parametre d'une action de test : N'entraine PAS la suppression du parametre de test du projet
122: * @param nameFamily
123: * @param nameSuite
124: * @param nameTest
125: * @param nameAction
126: * @param nameParam
127: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
128: */
129: public void deleteParamFromAction(String nameFamily,
130: String nameSuite, String nameTest, String nameAction,
131: String nameParam);
132:
133: /**
134: * Suppression d'un parametre d'une action de test : N'entraine PAS la suppression du parametre de test du projet
135: * @param actionId
136: * @param paramId
137: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
138: */
139: public void deleteParamFromActionUsingID(int actionId, int paramId);
140:
141: /**
142: * Suppression d'un fichier attaché à une suite de test
143: * @param nameFamily
144: * @param nameSuite
145: * @param fileName
146: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
147: */
148: public void deleteAttachFileFromSuite(String nameFamily,
149: String nameSuite, String fileName);
150:
151: /**
152: * Suppression d'une URL attachée à une suite de test
153: * @param nameFamily
154: * @param nameSuite
155: * @param url
156: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
157: */
158: public void deleteAttachUrlFromSuite(String nameFamily,
159: String nameSuite, String url);
160:
161: /**
162: * Suppression d'une URL attachée à une suite de test
163: * @param suiteId
164: * @param AttachId
165: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
166: */
167: public void deleteAttachFromSuiteUsingID(int suiteId, int attachId);
168:
169: /**
170: * Suppression d'un fichier attaché à un test
171: * @param nameFamily
172: * @param nameSuite
173: * @param testName
174: * @param fileName
175: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
176: */
177: public void deleteAttachFileFromTest(String nameFamily,
178: String nameSuite, String testName, String fileName);
179:
180: /**
181: * Suppression d'une URL attachée à un test
182: * @param nameFamily
183: * @param nameSuite
184: * @param testName
185: * @param url
186: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
187: */
188: public void deleteAttachUrlFromTest(String nameFamily,
189: String nameSuite, String testName, String url);
190:
191: /**
192: * Suppression d'une URL attachée à un test
193: * @param testId
194: * @param attachId
195: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
196: */
197: public void deleteAttachFromTestUsingID(int testId, int attachId);
198:
199: /**
200: * Suppression d'un fichier attaché à un test
201: * @param nameFamily
202: * @param nameSuite
203: * @param testName
204: * @param actionName
205: * @param fileName
206: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
207: */
208: public void deleteAttachFileFromAction(String nameFamily,
209: String nameSuite, String testName, String actionName,
210: String fileName);
211:
212: /**
213: * Suppression d'une URL attachée à un test
214: * @param nameFamily
215: * @param nameSuite
216: * @param testName
217: * @param actionName
218: * @param url
219: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
220: */
221: public void deleteAttachUrlFromAction(String nameFamily,
222: String nameSuite, String testName, String actionName,
223: String url);
224:
225: /**
226: * Suppression d'une URL attachée à un test
227: * @param actionId
228: * @param attachId
229: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
230: */
231: public void deleteAttachFromActionUsingID(int actionId, int attachId);
232:
233: /**
234: * Supprime un script d'un test
235: * @param familyName
236: * @param suiteName
237: * @param testName
238: * @param scriptName
239: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
240: */
241: public void deleteScriptFromTest(String familyName,
242: String suiteName, String testName, String scriptName);
243:
244: /**
245: * Supprime un script d'un test
246: * @param testId
247: * @param scriptName
248: * @see org.objectweb.salome_tmf.api.api2ihm.AdminProject.canDeleteTest()
249: */
250: public void deleteScriptFromTestUsingID(int testId,
251: String scriptName);
252:
253: }
|