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
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, testWorkflowFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidtries to complete a action with the wrong uservoidCreates some attachments and assigns them to the test workflow.voidvoidCompletes the actions of the test workflow and checks the action status and the comments.voidChecks 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, testTemplateActionsSizeMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
WorkflowBasicTest
public WorkflowBasicTest()
-
-
Method Details
-
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
-