Class WorkflowTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.common.workflow.WorkflowTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
@ContextHierarchy(@ContextConfiguration(name="siteRoot"))
public class WorkflowTest
extends TestNGSiteIntegrationSetup
- Author:
- Phillip Verheyden (phillipuniverse)
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<org.broadleafcommerce.core.workflow.Activity<org.broadleafcommerce.core.workflow.ProcessContext<? extends Object>>>protected org.broadleafcommerce.core.workflow.SequenceProcessorprotected org.broadleafcommerce.core.pricing.service.workflow.TotalActivityFields inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup
LOGFields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidTests that a merged activity can have the same order as a framework activity and come after itMethods inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup
logStart, logWhenDone, reSetApplicationContextMethods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
Field Details
-
activities
-
checkoutWorkflow
protected org.broadleafcommerce.core.workflow.SequenceProcessor checkoutWorkflow -
totalActivity
protected org.broadleafcommerce.core.pricing.service.workflow.TotalActivity totalActivity
-
-
Constructor Details
-
WorkflowTest
public WorkflowTest()
-
-
Method Details
-
testMergedOrderedActivities
public void testMergedOrderedActivities() -
testFrameworkOrderingChanged
public void testFrameworkOrderingChanged() -
testDetectedModuleActivity
public void testDetectedModuleActivity() -
testNonExplicitOrdering
public void testNonExplicitOrdering() -
testSameOrderingConfiguredActivity
public void testSameOrderingConfiguredActivity()Tests that a merged activity can have the same order as a framework activity and come after it -
testInBetweenActivity
public void testInBetweenActivity()
-