Java Doc for ExecutionResult.java in  » Test-Coverage » salome-tmf » org » objectweb » salome_tmf » data » 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.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.salome_tmf.data.SimpleData
      org.objectweb.salome_tmf.data.WithAttachment
         org.objectweb.salome_tmf.data.ExecutionResult

All known Subclasses:   org.objectweb.salome_tmf.data.AutomaticExecutionResult,
ExecutionResult
public class ExecutionResult extends WithAttachment (Code)

Inner Class :class ComparateurTestExec implements Comparator

Field Summary
protected  DateexecutionDate
    
protected  ExecutionpExecution
    
static  ISQLExecutionActionResultpISQLExecutionActionResult
    
static  ISQLExecutionResultpISQLExecutionResult
    
static  ISQLExecutionTestResultpISQLExecutionTestResult
    
protected  int[]statTab
    
protected  Stringstatus
    
protected  StringtesterLogin
    
protected  HashMaptestsResultMap
    
protected  Timetime
    

Constructor Summary
public  ExecutionResult(String name, String description, Execution pExecution)
    
public  ExecutionResult(ExecutionResultWrapper pExecRes, Execution pExecution)
    

Method Summary
public  voidaddAttachFileForExecTestInDB(Test test, FileAttachment file)
    
public  voidaddAttachFileForExecTestInDB(int idTest, FileAttachment file)
    
 voidaddAttachFileInDB(FileAttachment file)
    
public  voidaddAttachUrlForExecTestInDB(Test test, UrlAttachment url)
    
public  voidaddAttachUrlForExecTestInDB(int idTest, UrlAttachment url)
    
 voidaddAttachUrlInDB(UrlAttachment url)
    
public  voidaddAttachementInDB(Attachment attach)
    
public  voidaddExecActionResultInDB(Test test, Action action)
    
public  voidaddExecTestResultInDB(Test test)
    
public  voidaddFailInModel(int nb)
    
 voidaddInDB(Execution execCamp, User pUser)
    
public  voidaddSuccessInModel(int nb)
    
public  voidaddTestResultAttachMapInModel(Test test, HashMap attachMap)
    
public  ExecutionTestResultaddTestResultStatusInModel(Test test, String status)
     Ajoute un statut pour un test.
public  voidaddUnknowInModel(int nb)
    
public  booleanallTestsHaveStatusInModel()
    
public  ExecutionResultcloneInDB(boolean onlySucces, User pUser)
    
public  voiddeleteAttachFromExecResultInDB(int idTest, int idAttach)
    
public  voiddeleteAttachFromExecResultInDBModel(Test test, Attachment attach)
    
public  voiddeleteAttachFromExecResultInModel(Test test, Attachment attach)
    
public  voiddeleteAttachementInDB(int idAttach)
    
public  voiddeleteAttachementInDBAndModel(Attachment attach)
    
 voiddeleteInDB()
    
 voiddeleteInDBAndModel()
    
 voiddeleteInModel()
    
public  booleanexisteInBase()
    
public  VectorgetAllResExecTestAttachFromDB()
    
public  VectorgetAttachFilesExecResultFromDB(int testId)
    
public  VectorgetAttachFilesFromDB()
    
public  VectorgetAttachUrlsExecResultFromDB(int testId)
    
public  VectorgetAttachUrlsFromDB()
    
public  ExecutiongetExecution()
    
public  DategetExecutionDateFromModel()
    
public  StringgetExecutionStatusFromModel()
    
public  ExecutionTestResultgetExecutionTestResultFromModel(Test test)
    
public  StringgetFormatedStatFromModel(String initialPass, String initialFail, String initilalIncon)
    
public  intgetNbOfTestWithStat()
    
public  int[]getStatFromModel()
    
 intgetTestInModel(int id, ArrayList testInCampaign)
    
public  Test[]getTestOrderedFromModel()
    
public  StringgetTestResultStatusFromModel(Test test)
    
public  StringgetTesterFromModel()
    
public  HashMapgetTestsResultMapFromModel()
    
public  TimegetTimeFromModel()
    
public  voidgetUniqueName(int idExec)
    
 voidinitActionStatus(Action pAction, ManualExecutionResult pManualExecutionResult, Vector actionsResult)
    
public  ExecutionTestResultinitTestResultStatusInModel(Test test, String status, int i, Campaign c)
     Ajoute un statut pour un test.
protected  voidloadTestReult()
    
 ExecutionTestResultmakeExecutionTestResult(Test test, String status)
    
protected  voidreloadBaseFromDB()
    
public  voidreloadFromDB(boolean base)
    
public  voidreloadTestResult()
    
public  voidremoveTestResult(Test test)
    
 voidsetActionStatus(Action pAction, ManualExecutionResult pManualExecutionResult, Vector actionsResult)
    
public  voidsetExecutionDateInModel(Date date)
    
public  voidsetExecutionStatusInModel(String string)
    
public  voidsetNumberOfFailInModel(int nb)
    
public  voidsetNumberOfSuccessInModel(int nb)
    
public  voidsetNumberOfUnknowInModel(int nb)
    
public  voidsetTestExecutionTestResultInModel(Test test, ExecutionTestResult execTestResult, int i)
     Ajoute un statut pour un test.
public  voidsetTesterInModel(String user)
    
public  voidsetTimeInModel(Time time)
    
public  voidupdateEffectiveResForActionInDB(Test test, Action action)
    
public  voidupdateExecTestResultInDB(Test test)
    
public  voidupdateInDB(Execution execCamp, User pUser)
    
public  voidupdateInDBAndModel(String newName, String newDesc)
    

Field Detail
executionDate
protected Date executionDate(Code)



pExecution
protected Execution pExecution(Code)



pISQLExecutionActionResult
static ISQLExecutionActionResult pISQLExecutionActionResult(Code)



pISQLExecutionResult
static ISQLExecutionResult pISQLExecutionResult(Code)



pISQLExecutionTestResult
static ISQLExecutionTestResult pISQLExecutionTestResult(Code)



statTab
protected int[] statTab(Code)



status
protected String status(Code)



testerLogin
protected String testerLogin(Code)



testsResultMap
protected HashMap testsResultMap(Code)



time
protected Time time(Code)




Constructor Detail
ExecutionResult
public ExecutionResult(String name, String description, Execution pExecution)(Code)



ExecutionResult
public ExecutionResult(ExecutionResultWrapper pExecRes, Execution pExecution)(Code)




Method Detail
addAttachFileForExecTestInDB
public void addAttachFileForExecTestInDB(Test test, FileAttachment file) throws Exception(Code)



addAttachFileForExecTestInDB
public void addAttachFileForExecTestInDB(int idTest, FileAttachment file) throws Exception(Code)



addAttachFileInDB
void addAttachFileInDB(FileAttachment file) throws Exception(Code)



addAttachUrlForExecTestInDB
public void addAttachUrlForExecTestInDB(Test test, UrlAttachment url) throws Exception(Code)



addAttachUrlForExecTestInDB
public void addAttachUrlForExecTestInDB(int idTest, UrlAttachment url) throws Exception(Code)



addAttachUrlInDB
void addAttachUrlInDB(UrlAttachment url) throws Exception(Code)



addAttachementInDB
public void addAttachementInDB(Attachment attach) throws Exception(Code)



addExecActionResultInDB
public void addExecActionResultInDB(Test test, Action action) throws Exception(Code)



addExecTestResultInDB
public void addExecTestResultInDB(Test test) throws Exception(Code)



addFailInModel
public void addFailInModel(int nb)(Code)



addInDB
void addInDB(Execution execCamp, User pUser) throws Exception(Code)



addSuccessInModel
public void addSuccessInModel(int nb)(Code)



addTestResultAttachMapInModel
public void addTestResultAttachMapInModel(Test test, HashMap attachMap)(Code)



addTestResultStatusInModel
public ExecutionTestResult addTestResultStatusInModel(Test test, String status)(Code)
Ajoute un statut pour un test. Si le test est déjà dans la table, son statut est remplacé.
Parameters:
  test - un test
Parameters:
  status - son statut (SUCCESS, FAIL, UNKNOWN)



addUnknowInModel
public void addUnknowInModel(int nb)(Code)



allTestsHaveStatusInModel
public boolean allTestsHaveStatusInModel()(Code)



cloneInDB
public ExecutionResult cloneInDB(boolean onlySucces, User pUser) throws Exception(Code)



deleteAttachFromExecResultInDB
public void deleteAttachFromExecResultInDB(int idTest, int idAttach) throws Exception(Code)



deleteAttachFromExecResultInDBModel
public void deleteAttachFromExecResultInDBModel(Test test, Attachment attach) throws Exception(Code)



deleteAttachFromExecResultInModel
public void deleteAttachFromExecResultInModel(Test test, Attachment attach)(Code)



deleteAttachementInDB
public void deleteAttachementInDB(int idAttach) throws Exception(Code)



deleteAttachementInDBAndModel
public void deleteAttachementInDBAndModel(Attachment attach) throws Exception(Code)



deleteInDB
void deleteInDB() throws Exception(Code)



deleteInDBAndModel
void deleteInDBAndModel() throws Exception(Code)



deleteInModel
void deleteInModel()(Code)



existeInBase
public boolean existeInBase() throws Exception(Code)



getAllResExecTestAttachFromDB
public Vector getAllResExecTestAttachFromDB() throws Exception(Code)



getAttachFilesExecResultFromDB
public Vector getAttachFilesExecResultFromDB(int testId) throws Exception(Code)



getAttachFilesFromDB
public Vector getAttachFilesFromDB() throws Exception(Code)



getAttachUrlsExecResultFromDB
public Vector getAttachUrlsExecResultFromDB(int testId) throws Exception(Code)



getAttachUrlsFromDB
public Vector getAttachUrlsFromDB() throws Exception(Code)



getExecution
public Execution getExecution()(Code)



getExecutionDateFromModel
public Date getExecutionDateFromModel()(Code)



getExecutionStatusFromModel
public String getExecutionStatusFromModel()(Code)



getExecutionTestResultFromModel
public ExecutionTestResult getExecutionTestResultFromModel(Test test)(Code)



getFormatedStatFromModel
public String getFormatedStatFromModel(String initialPass, String initialFail, String initilalIncon)(Code)



getNbOfTestWithStat
public int getNbOfTestWithStat()(Code)



getStatFromModel
public int[] getStatFromModel()(Code)



getTestInModel
int getTestInModel(int id, ArrayList testInCampaign)(Code)



getTestOrderedFromModel
public Test[] getTestOrderedFromModel()(Code)



getTestResultStatusFromModel
public String getTestResultStatusFromModel(Test test)(Code)
Retourne le statut du test
Parameters:
  test -



getTesterFromModel
public String getTesterFromModel()(Code)



getTestsResultMapFromModel
public HashMap getTestsResultMapFromModel()(Code)



getTimeFromModel
public Time getTimeFromModel()(Code)



getUniqueName
public void getUniqueName(int idExec)(Code)



initActionStatus
void initActionStatus(Action pAction, ManualExecutionResult pManualExecutionResult, Vector actionsResult)(Code)



initTestResultStatusInModel
public ExecutionTestResult initTestResultStatusInModel(Test test, String status, int i, Campaign c)(Code)
Ajoute un statut pour un test. Si le test est déja dans la table, son statut est remplacé.
Parameters:
  test - un test
Parameters:
  status - son statut (SUCCESS, FAIL, UNKNOWN)



loadTestReult
protected void loadTestReult()(Code)



makeExecutionTestResult
ExecutionTestResult makeExecutionTestResult(Test test, String status)(Code)



reloadBaseFromDB
protected void reloadBaseFromDB() throws Exception(Code)



reloadFromDB
public void reloadFromDB(boolean base) throws Exception(Code)



reloadTestResult
public void reloadTestResult() throws Exception(Code)



removeTestResult
public void removeTestResult(Test test)(Code)



setActionStatus
void setActionStatus(Action pAction, ManualExecutionResult pManualExecutionResult, Vector actionsResult)(Code)



setExecutionDateInModel
public void setExecutionDateInModel(Date date)(Code)



setExecutionStatusInModel
public void setExecutionStatusInModel(String string)(Code)



setNumberOfFailInModel
public void setNumberOfFailInModel(int nb)(Code)



setNumberOfSuccessInModel
public void setNumberOfSuccessInModel(int nb)(Code)



setNumberOfUnknowInModel
public void setNumberOfUnknowInModel(int nb)(Code)



setTestExecutionTestResultInModel
public void setTestExecutionTestResultInModel(Test test, ExecutionTestResult execTestResult, int i)(Code)
Ajoute un statut pour un test. Si le test est déjà dans la table, son statut est remplacé.
Parameters:
  test - un test
Parameters:
  execTestResult - un objet r?sultat d'ex?cution



setTesterInModel
public void setTesterInModel(String user)(Code)



setTimeInModel
public void setTimeInModel(Time time)(Code)



updateEffectiveResForActionInDB
public void updateEffectiveResForActionInDB(Test test, Action action) throws Exception(Code)



updateExecTestResultInDB
public void updateExecTestResultInDB(Test test) throws Exception(Code)



updateInDB
public void updateInDB(Execution execCamp, User pUser) throws Exception(Code)



updateInDBAndModel
public void updateInDBAndModel(String newName, String newDesc) throws Exception(Code)



Fields inherited from org.objectweb.salome_tmf.data.WithAttachment
protected boolean doClearCache(Code)(Java Doc)

Methods inherited from org.objectweb.salome_tmf.data.WithAttachment
abstract public void addAttachementInDB(Attachment attach) throws Exception(Code)(Java Doc)
public void addAttachementInDBAndModel(Attachment attach) throws Exception(Code)(Java Doc)
public void addAttachementInModel(Attachment attach)(Code)(Java Doc)
public void addAttchmentInModel(String fileName, String value)(Code)(Java Doc)
public void addAttchmentInModel(File file)(Code)(Java Doc)
public void addAttchmentInModel(URL pUrl)(Code)(Java Doc)
public void clearAttachCache()(Code)(Java Doc)
protected void clearAttachInModel()(Code)(Java Doc)
public void clearCache()(Code)(Java Doc)
public boolean containsAttachmentInModel(String attachName)(Code)(Java Doc)
public boolean containsAttachmentInModel(Attachment attach)(Code)(Java Doc)
abstract protected void deleteAttachementInDB(int idAttach) throws Exception(Code)(Java Doc)
abstract public void deleteAttachementInDBAndModel(Attachment attach) throws Exception(Code)(Java Doc)
public void deleteAttachmentInModel(Attachment attach)(Code)(Java Doc)
abstract public Vector getAttachFilesFromDB() throws Exception(Code)(Java Doc)
abstract public Vector getAttachUrlsFromDB() throws Exception(Code)(Java Doc)
public Attachment getAttachmentFromModel(String attachName)(Code)(Java Doc)
public HashMap getAttachmentMapFromModel()(Code)(Java Doc)
public HashMap getCopyOfAttachmentMapFromModel()(Code)(Java Doc)
void loadAttachment()(Code)(Java Doc)
void loadAttachmentDataFromDB() throws Exception(Code)(Java Doc)
public FileAttachment makeFileAttachment(String fileName, String value) throws Exception(Code)(Java Doc)
public FileAttachment makeFileAttachment(File file)(Code)(Java Doc)
public UrlAttachment makeUrlAttchment(URL pUrl)(Code)(Java Doc)
public void reloadAttachmentDataFromDB(boolean force) throws Exception(Code)(Java Doc)
public void setAttachmentMapInModel(HashMap map)(Code)(Java Doc)
public FileAttachment takeScreenShot() throws Exception(Code)(Java Doc)
public void updateAttachement(HashMap oldAttachMap) throws Exception(Code)(Java Doc)

Fields inherited from org.objectweb.salome_tmf.data.SimpleData
protected String description(Code)(Java Doc)
protected int idBdd(Code)(Java Doc)
protected String name(Code)(Java Doc)

Methods inherited from org.objectweb.salome_tmf.data.SimpleData
abstract public void clearCache()(Code)(Java Doc)
abstract public boolean existeInBase() throws Exception(Code)(Java Doc)
public String getDescriptionFromModel()(Code)(Java Doc)
public int getIdBdd()(Code)(Java Doc)
public String getNameFromModel()(Code)(Java Doc)
public boolean isInBase()(Code)(Java Doc)
protected void setIdBdd(int id)(Code)(Java Doc)
protected void setNameInModel(String name)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void updateDescriptionInModel(String description)(Code)(Java Doc)
abstract public void updateInDBAndModel(String name, String description) throws Exception(Code)(Java Doc)

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.