Java Doc for ValidateProcDef.java in  » Workflow-Engines » wfmopen-2.1.1 » procdef » 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 » Workflow Engines » wfmopen 2.1.1 » procdef 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


procdef.ValidateProcDef

ValidateProcDef
public class ValidateProcDef extends TestCase (Code)
test the functionality of the class de.danet.an.workflow.domain.ProcDefValidator.


Field Summary
final static  org.apache.commons.logging.Loglogger
    

Constructor Summary
public  ValidateProcDef(String name)
     constructor of this test case.

Method Summary
public  voidXMLParamsOK()
    
public  voidXMLSubflowParamBuggy()
    
public  voidXMLToolParamBuggy()
    
public  voiddoubleActivityId()
     validate the process definitions from a XPDL file doubleActivityId.xml using the ProcessDefinitionDirectory bean.
public  voiddoubleActivityIdOfActivitySet()
     validate the process definitions from a XPDL file doubleActivityId.xml using the ProcessDefinitionDirectory bean.
public  voiddoubleApplicationId()
     validate the process definitions from a XPDL file doubleApplicationId.xml using the ProcessDefinitionDirectory bean.
public  voiddoubleParticipantId()
     Check if any duplicate Participant are defined.
public  voiddoubleProcessId()
     validate the process definitions from a XPDL file doubleProcessId.xml using the ProcessDefinitionDirectory bean.
public  voiddoubleTransitionId()
     validate the process definitions from a XPDL file doubleTransitionId.xml using the ProcessDefinitionDirectory bean.
public  voiddoubleTransitionIdOfActivitySet()
     validate the process definitions from a XPDL file doubleTransitionIdOfActivitySet.xml using the ProcessDefinitionDirectory bean.
public  voidemptyActivitySet()
     Check if the process definition includes an empty activity set.
public  voidillegalJavaType()
    
public  voidillegalScriptType()
     Check if the defined script is supported.
public  voidillegalScriptVersion()
     Check if the defined script is supported.
public  voidincompatibleJavaType1()
    
public  voidincompatibleJavaType2()
    
public  voidincompleteApplicationDef()
     validate the process definitions from a XPDL file validApplicationId.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidActivitySetTransRefId()
     validate the process definitions from a XPDL file invalidActivitySetTransRefId.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidActivityTransRefId()
     validate the process definitions from a XPDL file invalidActivitySetTransRefId.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidBlockActivityId()
     Check if all the referenced BlockActivity are defined.
public  voidinvalidExtendedAttribute()
     validate the process definitions from a XPDL file invalidExtendedAttribute.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidJavaType()
    
public  voidinvalidPriority()
     Check if the process definition includes an invalid priority.
public  voidinvalidRefActFromIdInTransition()
     validate the process definitions from a XPDL file invalidRefActFromIdInTransition.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidRefActFromIdInTransitionOfActivitySet()
     validate the process definitions from a XPDL file invalidRefActFromIdInTransitionOfActivitySet.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidRefActToIdInTransition()
     validate the process definitions from a XPDL file invalidRefActToIdInTransition.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidRefActToIdInTransitionOfActivitySet()
     validate the process definitions from a XPDL file invalidRefActToIdInTransitionOfActivitySet.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidRefToolIdInActivity()
     validate the process definitions from a XPDL file invalidRefToolIdInActivity.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidRefToolIdInActivitySet()
     validate the process definitions from a XPDL file invalidRefToolIdInActivitySet.xml using the ProcessDefinitionDirectory bean.
public  voidinvalidTransitionRestriction()
     Check if all TransitionRestrictions are valid.
public  voidloopActivities()
    
public  voidnoMatchedActualParamTypeCallingSubFlow()
     Check if all the formal OUT- or INOUT- parameters of the called subflow reference an existing actual parameter with an existing Datafield.
public  voidnoMatchedActualParamsInCallingSubFlow()
     Check if all the formal OUT- or INOUT- parameters of the called subflow reference an existing actual parameter.
public  voidnoMatchedDataFieldInCallingSubFlow()
     Check if all the formal OUT- or INOUT- parameters of the called subflow reference an existing actual parameter with an existing Datafield.
public  voidnoProcDataForActualParam()
     Check if all the defined ActualParameters have responding entries in DataFields.
public  voidnotMatchedFormalAndActualParams()
     Check if ActualParameters and FormalParameters are matched.
public  voidparticipantNotFound()
     Check if all defined Participant are valid.
public  voidsubFlowParamTypeMismatch()
     Check if formal- and actualParameters match in calling SubFlow.
public static  Testsuite()
     build this test suite. the built test suite.
public  voidtoolParamTypeMismatch()
     Check if formal- and actualParameters match in calling tools.
public  voidvalidApplicationId()
     validate the process definitions from a XPDL file validApplicationId.xml using the ProcessDefinitionDirectory bean.

Field Detail
logger
final static org.apache.commons.logging.Log logger(Code)
logger of this class




Constructor Detail
ValidateProcDef
public ValidateProcDef(String name)(Code)
constructor of this test case.
Parameters:
  name - name of this test case.




Method Detail
XMLParamsOK
public void XMLParamsOK() throws Exception(Code)
Check validity of actual parameters as XML string



XMLSubflowParamBuggy
public void XMLSubflowParamBuggy() throws Exception(Code)
Check validity of actual parameters as XML string



XMLToolParamBuggy
public void XMLToolParamBuggy() throws Exception(Code)
Check validity of actual parameters as XML string



doubleActivityId
public void doubleActivityId() throws Exception(Code)
validate the process definitions from a XPDL file doubleActivityId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



doubleActivityIdOfActivitySet
public void doubleActivityIdOfActivitySet() throws Exception(Code)
validate the process definitions from a XPDL file doubleActivityId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



doubleApplicationId
public void doubleApplicationId() throws Exception(Code)
validate the process definitions from a XPDL file doubleApplicationId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



doubleParticipantId
public void doubleParticipantId() throws Exception(Code)
Check if any duplicate Participant are defined.
throws:
  Exception - if any eror ocurred.



doubleProcessId
public void doubleProcessId() throws Exception(Code)
validate the process definitions from a XPDL file doubleProcessId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



doubleTransitionId
public void doubleTransitionId() throws Exception(Code)
validate the process definitions from a XPDL file doubleTransitionId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



doubleTransitionIdOfActivitySet
public void doubleTransitionIdOfActivitySet() throws Exception(Code)
validate the process definitions from a XPDL file doubleTransitionIdOfActivitySet.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



emptyActivitySet
public void emptyActivitySet() throws Exception(Code)
Check if the process definition includes an empty activity set.
throws:
  Exception - if any eror ocurred.



illegalJavaType
public void illegalJavaType() throws Exception(Code)
Check validity of actual parameters as XML string



illegalScriptType
public void illegalScriptType() throws Exception(Code)
Check if the defined script is supported.



illegalScriptVersion
public void illegalScriptVersion() throws Exception(Code)
Check if the defined script is supported.



incompatibleJavaType1
public void incompatibleJavaType1() throws Exception(Code)
Check validity of actual parameters as XML string



incompatibleJavaType2
public void incompatibleJavaType2() throws Exception(Code)
Check validity of actual parameters as XML string



incompleteApplicationDef
public void incompleteApplicationDef() throws Exception(Code)
validate the process definitions from a XPDL file validApplicationId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidActivitySetTransRefId
public void invalidActivitySetTransRefId() throws Exception(Code)
validate the process definitions from a XPDL file invalidActivitySetTransRefId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidActivityTransRefId
public void invalidActivityTransRefId() throws Exception(Code)
validate the process definitions from a XPDL file invalidActivitySetTransRefId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidBlockActivityId
public void invalidBlockActivityId() throws Exception(Code)
Check if all the referenced BlockActivity are defined.
throws:
  Exception - if any eror ocurred.



invalidExtendedAttribute
public void invalidExtendedAttribute() throws Exception(Code)
validate the process definitions from a XPDL file invalidExtendedAttribute.xml using the ProcessDefinitionDirectory bean. The extended attribute should have a value as AUTOMATIC or MANUAL, otherwise error raised.
throws:
  Exception - if any eror ocurred.



invalidJavaType
public void invalidJavaType() throws Exception(Code)
Check validity of actual parameters as XML string



invalidPriority
public void invalidPriority() throws Exception(Code)
Check if the process definition includes an invalid priority.
throws:
  Exception - if any eror ocurred.



invalidRefActFromIdInTransition
public void invalidRefActFromIdInTransition() throws Exception(Code)
validate the process definitions from a XPDL file invalidRefActFromIdInTransition.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidRefActFromIdInTransitionOfActivitySet
public void invalidRefActFromIdInTransitionOfActivitySet() throws Exception(Code)
validate the process definitions from a XPDL file invalidRefActFromIdInTransitionOfActivitySet.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidRefActToIdInTransition
public void invalidRefActToIdInTransition() throws Exception(Code)
validate the process definitions from a XPDL file invalidRefActToIdInTransition.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidRefActToIdInTransitionOfActivitySet
public void invalidRefActToIdInTransitionOfActivitySet() throws Exception(Code)
validate the process definitions from a XPDL file invalidRefActToIdInTransitionOfActivitySet.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidRefToolIdInActivity
public void invalidRefToolIdInActivity() throws Exception(Code)
validate the process definitions from a XPDL file invalidRefToolIdInActivity.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidRefToolIdInActivitySet
public void invalidRefToolIdInActivitySet() throws Exception(Code)
validate the process definitions from a XPDL file invalidRefToolIdInActivitySet.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



invalidTransitionRestriction
public void invalidTransitionRestriction() throws Exception(Code)
Check if all TransitionRestrictions are valid.
throws:
  Exception - if any eror ocurred.



loopActivities
public void loopActivities() throws Exception(Code)
Check if all the activities build a loop



noMatchedActualParamTypeCallingSubFlow
public void noMatchedActualParamTypeCallingSubFlow() throws Exception(Code)
Check if all the formal OUT- or INOUT- parameters of the called subflow reference an existing actual parameter with an existing Datafield.



noMatchedActualParamsInCallingSubFlow
public void noMatchedActualParamsInCallingSubFlow() throws Exception(Code)
Check if all the formal OUT- or INOUT- parameters of the called subflow reference an existing actual parameter.



noMatchedDataFieldInCallingSubFlow
public void noMatchedDataFieldInCallingSubFlow() throws Exception(Code)
Check if all the formal OUT- or INOUT- parameters of the called subflow reference an existing actual parameter with an existing Datafield.



noProcDataForActualParam
public void noProcDataForActualParam() throws Exception(Code)
Check if all the defined ActualParameters have responding entries in DataFields.
throws:
  Exception - if any eror ocurred.



notMatchedFormalAndActualParams
public void notMatchedFormalAndActualParams() throws Exception(Code)
Check if ActualParameters and FormalParameters are matched.
throws:
  Exception - if any eror ocurred.



participantNotFound
public void participantNotFound() throws Exception(Code)
Check if all defined Participant are valid.
throws:
  Exception - if any eror ocurred.



subFlowParamTypeMismatch
public void subFlowParamTypeMismatch() throws Exception(Code)
Check if formal- and actualParameters match in calling SubFlow.



suite
public static Test suite()(Code)
build this test suite. the built test suite.



toolParamTypeMismatch
public void toolParamTypeMismatch() throws Exception(Code)
Check if formal- and actualParameters match in calling tools.



validApplicationId
public void validApplicationId() throws Exception(Code)
validate the process definitions from a XPDL file validApplicationId.xml using the ProcessDefinitionDirectory bean.
throws:
  Exception - if any eror ocurred.



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