Package de.hybris.platform.workflow.jalo
Class WorkflowBasicTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
-
- de.hybris.platform.workflow.jalo.WorkflowTest
-
- de.hybris.platform.workflow.jalo.WorkflowBasicTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class WorkflowBasicTest extends WorkflowTest
Basic tests for Workflow-Extension.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.workflow.jalo.WorkflowTest
WorkflowTest.ACTIONCODES, WorkflowTest.DECISIONCODES
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.workflow.jalo.WorkflowTest
manager, testTemplate, testWorkflow
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description WorkflowBasicTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testAndDecisions()
void
testAssignedUserCheck()
void
testAssignedUserDecide()
tries to complete a action with the wrong uservoid
testAttachments()
Creates some attachments and assigns them to the test workflow.void
testOrDecisions()
void
testWorkflowCompleteChain()
Completes the actions of the test workflow and checks the action status and the comments.void
testWorkflowCreate()
Checks if actions of test workflow has correct status.-
Methods inherited from class de.hybris.platform.workflow.jalo.WorkflowTest
createAutomatedWorkflowActionTemplate, createUser, createWorkflowActionTemplate, createWorkflowActionTemplateLinkTemplateRelation, createWorkflowDecisionTemplate, createWorkflowTemplate, createWorkflowTemplate, createWorkflowTemplate, getAction, getActionTemplate, getDecision, setUp, testActionsSize, testTemplateActionsSize
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testWorkflowCreate
public void testWorkflowCreate()
Checks if actions of test workflow has correct status.
-
testWorkflowCompleteChain
public void testWorkflowCompleteChain()
Completes the actions of the test workflow and checks the action status and the comments.
-
testAndDecisions
public void testAndDecisions()
-
testOrDecisions
public void testOrDecisions()
-
testAttachments
public void testAttachments()
Creates some attachments and assigns them to the test workflow.
-
testAssignedUserCheck
public void testAssignedUserCheck()
-
testAssignedUserDecide
public void testAssignedUserDecide()
tries to complete a action with the wrong user
-
-