Java Doc for STCommun.java in  » Test-Coverage » salome-tmf » org » objectweb » salome_tmf » api » api2ihm » suiteTest » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Test Coverage » salome tmf » org.objectweb.salome_tmf.api.api2ihm.suiteTest 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
static  Stringscript_env_header
    
static  Stringscript_exec_header
    
static  Stringscript_test_header
    


Method Summary
public static  voidaddFileAttachToDB(DataBase database, Properties prop, String filePath, long length, Date date, String description, int type)
    
public static  voidaddFileAttachToDB(DataBase database, Properties prop, String filePath, long length, Date date, String description)
    
public static  voidaddScriptToDB(DataBase database, Properties prop, String scriptPath, String classToBeExecuted, String classPath, String type)
    
public static  voidaddUrlAttachToDB(DataBase database, Properties prop, String url, String description)
    
public static  intgetActionAttachFileId(DataBase database, Properties prop, int actionId, String fileName)
    
public static  intgetActionAttachUrlId(DataBase database, Properties prop, int actionId, String url)
    
public static  intgetAttachIdScript(DataBase database, Properties prop, int scriptId, String scriptName)
    
public static  FilegetFileAttachFromDB(DataBase database, Properties prop, int fileAttachId)
    
public static  FilegetFileAttachFromDB(DataBase database, Properties prop, int fileAttachId, String pathName)
    
public static  StringgetFileAttachNameFromDB(DataBase database, Properties prop, int fileAttachId)
    
public static  intgetIdAction(DataBase database, Properties prop, String nameAction, int idTest)
    
public static  intgetIdFamily(DataBase database, Properties prop, int idProject, String nameFamily)
    
public static  intgetIdFileAttach(DataBase database, Properties prop, String attachName)
    
public static  intgetIdParam(DataBase database, Properties prop, String nameParam, int idProject)
    
public static  intgetIdScript(DataBase database, Properties prop, int idTest, String scriptName)
    
public static  intgetIdSuite(DataBase database, Properties prop, int idProject, String nameSuite, int idFamily)
    
public static  intgetIdTest(DataBase database, Properties prop, String nameTest, int idSuite)
    
public static  intgetIdUrlAttach(DataBase database, Properties prop, String attachName)
    
public static  intgetMaxIdAttach(DataBase database, Properties prop)
    
public static  intgetMaxIdScript(DataBase database, Properties prop)
    
public static  intgetSuiteAttachFileId(DataBase database, Properties prop, int suiteId, String fileName)
    
public static  intgetSuiteAttachUrlId(DataBase database, Properties prop, int suiteId, String url)
    
public static  intgetTestAttachFileId(DataBase database, Properties prop, int testId, String fileName)
    
public static  intgetTestAttachScriptId(DataBase database, Properties prop, int scriptId)
    
public static  intgetTestAttachUrlId(DataBase database, Properties prop, int testId, String url)
    
public static  DataSetselectFamilySuites(DataBase database, Properties prop, int idFamily)
    
public static  DataSetselectSuiteTests(DataBase database, Properties prop, int idSuite)
    
public static  DataSetselectTestActions(DataBase database, Properties prop, int idTest)
    
public static  DataSetselectTestParameters(DataBase database, Properties prop, int idTest)
    

Field Detail
script_env_header
static String script_env_header(Code)



script_exec_header
static String script_exec_header(Code)



script_test_header
static String script_test_header(Code)





Method Detail
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 -



getTestAttachScriptId
public static int getTestAttachScriptId(DataBase database, Properties prop, int scriptId)(Code)



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 -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.