org.alfresco.repo.workflow.activiti
Class ActivitiWorkflowComponentTest

java.lang.Object
  extended by org.alfresco.repo.workflow.activiti.AbstractActivitiComponentTest
      extended by org.alfresco.repo.workflow.activiti.ActivitiWorkflowComponentTest

public class ActivitiWorkflowComponentTest
extends AbstractActivitiComponentTest

Spring-configured JUnit 4 test case. Uses Spring to load up a test context and runs each test case in a transaction which gets rolled back. Loads up the activiti-context.xml and test-database-context.xml.

Since:
3.4.e

Field Summary
 
Fields inherited from class org.alfresco.repo.workflow.activiti.AbstractActivitiComponentTest
adminHomeNode, adminPersonNode, authorityDAO, companyHomeNode, dictionaryService, historyService, managementService, messageService, namespaceService, nodeService, permissionService, personService, processEngine, repo, rootNode, runtime, serviceRegistry, taskService, tenantService, TEST_ADHOC_DEF, TEST_ADHOC_KEY, TEST_DIAGRAM_DEF, TEST_GROUP, TEST_JOB_DEF, TEST_JOB_KEY, TEST_REVIEW_DEF, TEST_SIGNALLING_DEF, TEST_TASK_DEF, TEST_TASK_KEY, TEST_USER, testGroupNode, testUserNode, testWorkflowContext, testWorkflowPackage, unprotectedSearchService, workflowEngine, XML
 
Constructor Summary
ActivitiWorkflowComponentTest()
           
 
Method Summary
 void testCancelUnexistingWorkflow()
           
 void testCancelWorkflow()
           
 void testDeleteUnexistingWorkflow()
           
 void testDeleteWorkflow()
           
 void testDeployDefinition()
           
 void testGetActiveWorkflows()
           
 void testGetAllDefinitions()
           
 void testGetCompletedWorkflowById()
           
 void testGetCompletedWorkflows()
           
 void testGetDefinitionById()
           
 void testGetDefinitionByName()
           
 void testGetDefinitions()
           
 void testGetTimers()
           
 void testGetWorkflowById()
           
 void testGetWorkflowImage()
           
 void testGetWorkflows()
           
 void testIsDefinitionDeployed()
           
 void testSignal()
           
 void testStartWorkflow()
           
 void testUndeployDefinition()
           
 
Methods inherited from class org.alfresco.repo.workflow.activiti.AbstractActivitiComponentTest
deployDefinition, deployTestAdhocDefinition, deployTestDiagramDefinition, deployTestJobDefinition, deployTestSignallingDefinition, deployTestTaskDefinition, getInputStream, mapQNameToName, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivitiWorkflowComponentTest

public ActivitiWorkflowComponentTest()
Method Detail

testDeployDefinition

public void testDeployDefinition()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testIsDefinitionDeployed

public void testIsDefinitionDeployed()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testUndeployDefinition

public void testUndeployDefinition()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testGetDefinitionById

public void testGetDefinitionById()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testGetDefinitionByName

public void testGetDefinitionByName()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testGetDefinitions

public void testGetDefinitions()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testGetAllDefinitions

public void testGetAllDefinitions()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testStartWorkflow

public void testStartWorkflow()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSignal

public void testSignal()
                throws java.lang.Exception
Throws:
java.lang.Exception

testCancelWorkflow

public void testCancelWorkflow()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testCancelUnexistingWorkflow

public void testCancelUnexistingWorkflow()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteWorkflow

public void testDeleteWorkflow()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteUnexistingWorkflow

public void testDeleteUnexistingWorkflow()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testGetActiveWorkflows

public void testGetActiveWorkflows()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testGetCompletedWorkflows

public void testGetCompletedWorkflows()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testGetWorkflows

public void testGetWorkflows()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testGetWorkflowById

public void testGetWorkflowById()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testGetCompletedWorkflowById

public void testGetCompletedWorkflowById()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testGetTimers

public void testGetTimers()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testGetWorkflowImage

public void testGetWorkflowImage()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.