Class WorkflowBasicTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
-
- de.hybris.platform.workflow.integration.WorkflowTest
-
- de.hybris.platform.workflow.integration.WorkflowBasicTest
-
- All Implemented Interfaces:
JaloSessionHolder
@DemoTest public class WorkflowBasicTest extends WorkflowTest
Basic tests for Workflow-Extension.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.workflow.integration.WorkflowTest
WorkflowTest.ACTIONCODES, WorkflowTest.DECISIONCODES
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.workflow.integration.WorkflowTest
catalogVersionService, flexibleSearchService, modelService, testTemplate, testWorkflow, typeService, userService, workflowActionService, workflowAttachmentService, workflowProcessingService, workflowService
-
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 voidtestAndDecisions()voidtestAssignedUserCheck()voidtestAssignedUserDecide()tries to complete a action with the wrong uservoidtestAttachments()Creates some attachments and assigns them to the test workflow and removes one of them finally.voidtestOrDecisions()voidtestWorkflowCompleteChain()Completes the actions of the test workflow and checks the action status and the comments.voidtestWorkflowCreate()Checks if actions of test workflow has correct status.-
Methods inherited from class de.hybris.platform.workflow.integration.WorkflowTest
clearCache, createAutomatedWorkflowActionTemplateModel, createUser, createWorkflowActionTemplateModel, createWorkflowActionTemplateModelLinkTemplateRelation, createWorkflowDecisionTemplate, createWorkflowTemplate, createWorkflowTemplate, createWorkflowTemplate, getAction, getActionTemplate, getDecision, setUp, testActionsSize, testTemplateActionsSize
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
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 and removes one of them finally.
-
testAssignedUserCheck
public void testAssignedUserCheck()
-
testAssignedUserDecide
public void testAssignedUserDecide()
tries to complete a action with the wrong user
-
-