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
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, testCatalogVersion, testTemplate, testUser, testWorkflow, typeService, userService, workflowActionService, workflowAttachmentService, workflowProcessingService, workflowServiceFields 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 and removes one of them finally.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.integration.WorkflowTest
clearCache, createAutomatedWorkflowActionTemplateModel, createUser, createWorkflowActionTemplateModel, createWorkflowActionTemplateModelLinkTemplateRelation, createWorkflowDecisionTemplate, createWorkflowTemplate, createWorkflowTemplate, createWorkflowTemplate, getAction, getActionTemplate, getDecision, setUp, testActionsSize, testTemplateActionsSizeMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods 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 and removes one of them finally. -
testAssignedUserCheck
public void testAssignedUserCheck() -
testAssignedUserDecide
public void testAssignedUserDecide()tries to complete a action with the wrong user
-