| java.lang.Object org.objectweb.salome_tmf.api.api2ihm.suiteTest.STCommun
STCommun | public class STCommun (Code) | | STCommun : Classes contenant les fonctions communes aux differentes classes relatives a l'aire
fonctionnelle "Suite de test"
author: Fayçal SOUGRATI |
Method Summary | |
public static void | addFileAttachToDB(DataBase database, Properties prop, String filePath, long length, Date date, String description, int type) | public static void | addFileAttachToDB(DataBase database, Properties prop, String filePath, long length, Date date, String description) | public static void | addScriptToDB(DataBase database, Properties prop, String scriptPath, String classToBeExecuted, String classPath, String type) | public static void | addUrlAttachToDB(DataBase database, Properties prop, String url, String description) | public static int | getActionAttachFileId(DataBase database, Properties prop, int actionId, String fileName) | public static int | getActionAttachUrlId(DataBase database, Properties prop, int actionId, String url) | public static int | getAttachIdScript(DataBase database, Properties prop, int scriptId, String scriptName) | public static File | getFileAttachFromDB(DataBase database, Properties prop, int fileAttachId) | public static File | getFileAttachFromDB(DataBase database, Properties prop, int fileAttachId, String pathName) | public static String | getFileAttachNameFromDB(DataBase database, Properties prop, int fileAttachId) | public static int | getIdAction(DataBase database, Properties prop, String nameAction, int idTest) | public static int | getIdFamily(DataBase database, Properties prop, int idProject, String nameFamily) | public static int | getIdFileAttach(DataBase database, Properties prop, String attachName) | public static int | getIdParam(DataBase database, Properties prop, String nameParam, int idProject) | public static int | getIdScript(DataBase database, Properties prop, int idTest, String scriptName) | public static int | getIdSuite(DataBase database, Properties prop, int idProject, String nameSuite, int idFamily) | public static int | getIdTest(DataBase database, Properties prop, String nameTest, int idSuite) | public static int | getIdUrlAttach(DataBase database, Properties prop, String attachName) | public static int | getMaxIdAttach(DataBase database, Properties prop) | public static int | getMaxIdScript(DataBase database, Properties prop) | public static int | getSuiteAttachFileId(DataBase database, Properties prop, int suiteId, String fileName) | public static int | getSuiteAttachUrlId(DataBase database, Properties prop, int suiteId, String url) | public static int | getTestAttachFileId(DataBase database, Properties prop, int testId, String fileName) | public static int | getTestAttachScriptId(DataBase database, Properties prop, int scriptId) | public static int | getTestAttachUrlId(DataBase database, Properties prop, int testId, String url) | public static DataSet | selectFamilySuites(DataBase database, Properties prop, int idFamily) | public static DataSet | selectSuiteTests(DataBase database, Properties prop, int idSuite) | public static DataSet | selectTestActions(DataBase database, Properties prop, int idTest) | public static DataSet | selectTestParameters(DataBase database, Properties prop, int idTest) |
addFileAttachToDB | public static void addFileAttachToDB(DataBase database, Properties prop, String filePath, long length, Date date, String description, int type)(Code) | | Ajout d'un fichier attachement à la BdD SalomeTMF
Parameters: database - Parameters: prop - Parameters: path - Parameters: description - Parameters: Type - = 1 Script test, 2 Script env, 3 script exec |
addFileAttachToDB | public static void addFileAttachToDB(DataBase database, Properties prop, String filePath, long length, Date date, String description)(Code) | | Ajout d'un fichier attachement à la BdD SalomeTMF
Parameters: database - Parameters: prop - Parameters: path - Parameters: description - |
addScriptToDB | public static void addScriptToDB(DataBase database, Properties prop, String scriptPath, String classToBeExecuted, String classPath, String type)(Code) | | Ajoute un script dans la base
Parameters: database - Parameters: prop - Parameters: scriptPath - Parameters: classToBeExecuted - Parameters: classPath - Parameters: type - |
addUrlAttachToDB | public static void addUrlAttachToDB(DataBase database, Properties prop, String url, String description)(Code) | | Ajout d'une URL à la BdD VT
Parameters: database - Parameters: prop - Parameters: url - Parameters: description - |
getActionAttachFileId | public static int getActionAttachFileId(DataBase database, Properties prop, int actionId, String fileName)(Code) | | Selection de l'Id d'un fichier attaché à une action
Parameters: database - Parameters: prop - Parameters: actionId - Parameters: fileName - |
getActionAttachUrlId | public static int getActionAttachUrlId(DataBase database, Properties prop, int actionId, String url)(Code) | | Selection de l'Id d'une URL attachée à une action
Parameters: database - Parameters: prop - Parameters: actionId - Parameters: fileName - |
getAttachIdScript | public static int getAttachIdScript(DataBase database, Properties prop, int scriptId, String scriptName)(Code) | | Parameters: database - Parameters: prop - Parameters: scriptId - Parameters: scriptName - |
getFileAttachFromDB | public static File getFileAttachFromDB(DataBase database, Properties prop, int fileAttachId)(Code) | | Selection d'un fichier attachement appartenant à la BdD à partir de son ID
Parameters: database - Parameters: prop - Parameters: fileAttachId - |
getFileAttachFromDB | public static File getFileAttachFromDB(DataBase database, Properties prop, int fileAttachId, String pathName)(Code) | | Selection d'un fichier attachement appartenant à la BdD à partir de son ID
Parameters: database - Parameters: prop - Parameters: fileAttachId - Parameters: pathName - |
getFileAttachNameFromDB | public static String getFileAttachNameFromDB(DataBase database, Properties prop, int fileAttachId)(Code) | | Selection du nom d'un fichier attachement appartenant à la BdD à partir de son ID
Parameters: database - Parameters: prop - Parameters: fileAttachId - |
getIdAction | public static int getIdAction(DataBase database, Properties prop, String nameAction, int idTest)(Code) | | Selection de l'ID d'une action de test a partir de son nom et de l'ID du test manuel
Parameters: database - Parameters: prop - Parameters: nameAction - Parameters: idTest - |
getIdFamily | public static int getIdFamily(DataBase database, Properties prop, int idProject, String nameFamily)(Code) | | Recherche de l'ID d'une famille de test a partir de son nom
Parameters: database - Parameters: prop - Parameters: idProject - Parameters: nameFamily - |
getIdFileAttach | public static int getIdFileAttach(DataBase database, Properties prop, String attachName)(Code) | | Sélection de l'ID d'un attachement
Parameters: database - Parameters: prop - Parameters: idProject - Parameters: attachName - |
getIdParam | public static int getIdParam(DataBase database, Properties prop, String nameParam, int idProject)(Code) | | Selection de l'ID d'un parametre de test a partir de son nom et du projet auquel il appartient
Parameters: database - Parameters: prop - Parameters: nameParam - Parameters: idProject - |
getIdScript | public static int getIdScript(DataBase database, Properties prop, int idTest, String scriptName)(Code) | | Parameters: database - Parameters: prop - Parameters: idTest - Parameters: scriptName - |
getIdSuite | public static int getIdSuite(DataBase database, Properties prop, int idProject, String nameSuite, int idFamily)(Code) | | Recherche de l'ID d'une suite de test a partir de son nom et de la famille de test a laquelle elle appartient
Parameters: database - Parameters: prop - Parameters: idProject - Parameters: nameSuite - Parameters: idFamily - |
getIdTest | public static int getIdTest(DataBase database, Properties prop, String nameTest, int idSuite)(Code) | | Recherche de l'ID d'un test a partir de son nom et de l'ID de la suite a laquelle il appartient
Parameters: database - Parameters: prop - Parameters: nameTest - Parameters: idSuite - |
getIdUrlAttach | public static int getIdUrlAttach(DataBase database, Properties prop, String attachName)(Code) | | Sélection de l'ID d'un attachement
Parameters: database - Parameters: prop - Parameters: idProject - Parameters: attachName - |
getMaxIdAttach | public static int getMaxIdAttach(DataBase database, Properties prop)(Code) | | Fonction qui retourne le max des ID uniques des attachements présents dans la base SalomeTMF
Parameters: database - Parameters: prop - |
getMaxIdScript | public static int getMaxIdScript(DataBase database, Properties prop)(Code) | | Fonction qui retourne le max des ID uniques des attachements présents dans la base SalomeTMF
Parameters: database - Parameters: prop - |
getSuiteAttachFileId | public static int getSuiteAttachFileId(DataBase database, Properties prop, int suiteId, String fileName)(Code) | | Selection de l'Id d'un fichier attaché à une suite de test
Parameters: database - Parameters: prop - Parameters: suiteId - Parameters: fileName - |
getSuiteAttachUrlId | public static int getSuiteAttachUrlId(DataBase database, Properties prop, int suiteId, String url)(Code) | | Selection de l'Id d'une URL attachée à une suite de test
Parameters: database - Parameters: prop - Parameters: suiteId - Parameters: fileName - |
getTestAttachFileId | public static int getTestAttachFileId(DataBase database, Properties prop, int testId, String fileName)(Code) | | Selection de l'Id d'un fichier attaché à un test
Parameters: database - Parameters: prop - Parameters: testId - Parameters: fileName - |
getTestAttachUrlId | public static int getTestAttachUrlId(DataBase database, Properties prop, int testId, String url)(Code) | | Selection de l'Id d'une URL attachée à une suite de test
Parameters: database - Parameters: prop - Parameters: testId - Parameters: fileName - |
selectFamilySuites | public static DataSet selectFamilySuites(DataBase database, Properties prop, int idFamily)(Code) | | Selection des suites de test appartenant a une famille
Parameters: database - Parameters: prop - Parameters: idFamily - |
selectSuiteTests | public static DataSet selectSuiteTests(DataBase database, Properties prop, int idSuite)(Code) | | Selection des tests appartenant a une suite de test
Parameters: database - Parameters: prop - Parameters: idSuite - |
selectTestActions | public static DataSet selectTestActions(DataBase database, Properties prop, int idTest)(Code) | | Selection des actions de test appartenant a un test manuel
Parameters: database - Parameters: prop - Parameters: idTest - |
selectTestParameters | public static DataSet selectTestParameters(DataBase database, Properties prop, int idTest)(Code) | | Selection des parametres lies a un test
Parameters: database - Parameters: prop - Parameters: idTest - |
|
|