Class BaseAcceleratorSourcingIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorIntegrationTest
-
- de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorSourcingIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
AsnIntegrationTest
,AtpFormulaIntegrationTest
,CancellationIntegrationTest
,DeclineIntegrationTest
,OrderOnHoldIntegrationTest
,OrderSourcingIntegrationTest
,PartialAllocationIntegrationTest
,ReturnIntegrationTest
public class BaseAcceleratorSourcingIntegrationTest extends BaseAcceleratorIntegrationTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorIntegrationTest
flexibleSearchService, springCustomContextLoader
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description BaseAcceleratorSourcingIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildAsnWorkflow()
setup the workflow for Advance Shipping Noticeprotected void
buildConsignmentWorkflow()
setup the workflow for Consignmentprotected void
cleanUpData()
protected void
cleanUpModel(java.lang.String modelName)
protected void
refreshConsignmentAndEntries(ConsignmentModel consignmentModel)
Refreshes theConsignmentModel
and itsConsignmentEntryModel
(s)void
resetFactors()
protected void
saveAll()
void
setup()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
CODE_MEMORY_CARD
protected static final java.lang.String CODE_MEMORY_CARD
- See Also:
- Constant Field Values
-
CODE_MONTREAL
protected static final java.lang.String CODE_MONTREAL
- See Also:
- Constant Field Values
-
CODE_MONTREAL_EXTERNAL
protected static final java.lang.String CODE_MONTREAL_EXTERNAL
- See Also:
- Constant Field Values
-
CODE_TORONTO
protected static final java.lang.String CODE_TORONTO
- See Also:
- Constant Field Values
-
CODE_BOSTON
protected static final java.lang.String CODE_BOSTON
- See Also:
- Constant Field Values
-
CODE_PARIS
protected static final java.lang.String CODE_PARIS
- See Also:
- Constant Field Values
-
CAMERA_QTY
protected static final java.lang.Long CAMERA_QTY
-
LEFTOVER_QTY
protected static final java.lang.Long LEFTOVER_QTY
-
MEMORY_CARD_QTY
protected static final java.lang.Long MEMORY_CARD_QTY
-
LENS_QTY
protected static final java.lang.Long LENS_QTY
-
CAMERA_CODE
protected static final java.lang.String CAMERA_CODE
- See Also:
- Constant Field Values
-
MEMORY_CARD_CODE
protected static final java.lang.String MEMORY_CARD_CODE
- See Also:
- Constant Field Values
-
LENS_CODE
protected static final java.lang.String LENS_CODE
- See Also:
- Constant Field Values
-
DECLINE_ENTRIES
protected static final java.lang.String DECLINE_ENTRIES
- See Also:
- Constant Field Values
-
timeOut
protected static final int timeOut
- See Also:
- Constant Field Values
-
CONSIGNMENT_ACTION_EVENT_NAME
protected static final java.lang.String CONSIGNMENT_ACTION_EVENT_NAME
- See Also:
- Constant Field Values
-
REALLOCATE_CONSIGNMENT_CHOICE
protected static final java.lang.String REALLOCATE_CONSIGNMENT_CHOICE
- See Also:
- Constant Field Values
-
ORDER_ACTION_EVENT_NAME
protected static final java.lang.String ORDER_ACTION_EVENT_NAME
- See Also:
- Constant Field Values
-
RE_SOURCE_CHOICE
protected static final java.lang.String RE_SOURCE_CHOICE
- See Also:
- Constant Field Values
-
sourcingUtil
protected SourcingUtil sourcingUtil
-
returnUtil
protected ReturnUtil returnUtil
-
cancellationUtil
protected CancellationUtil cancellationUtil
-
declineUtil
protected DeclineUtil declineUtil
-
workflowUtil
protected WorkflowUtil workflowUtil
-
pointsOfService
protected PointsOfService pointsOfService
-
modelService
protected ModelService modelService
-
deliveryMode
protected DeliveryModeModel deliveryMode
-
order
protected OrderModel order
-
stockLevels
protected StockLevels stockLevels
-
products
protected Products products
-
productService
protected ProductService productService
-
sourcingBanService
protected SourcingBanService sourcingBanService
-
warehouses
protected Warehouses warehouses
-
stockService
protected StockService stockService
-
commerceStockService
protected CommerceStockService commerceStockService
-
orders
protected Orders orders
-
baseStores
protected BaseStores baseStores
-
users
protected Users users
-
csAgentGroups
protected CsAgentGroups csAgentGroups
-
domains
protected Domains domains
-
components
protected Components components
-
commentTypes
protected CommentTypes commentTypes
-
sourcingConfigs
protected SourcingConfigs sourcingConfigs
-
restockConfigs
protected RestockConfigs restockConfigs
-
warehouseStockService
protected WarehouseStockService warehouseStockService
-
orderBusinessProcessService
protected BusinessProcessService orderBusinessProcessService
-
emailAddresses
protected EmailAddresses emailAddresses
-
atpFormulas
protected AtpFormulas atpFormulas
-
workflowTemplates
protected WorkflowTemplates workflowTemplates
-
workflowActionTemplates
protected WorkflowActionTemplates workflowActionTemplates
-
workflowService
protected WorkflowService workflowService
-
automatedWorkflowActionTemplates
protected AutomatedWorkflowActionTemplates automatedWorkflowActionTemplates
-
-
Method Detail
-
setup
public void setup() throws ImpExException
- Throws:
ImpExException
-
buildConsignmentWorkflow
protected void buildConsignmentWorkflow()
setup the workflow for Consignment
-
buildAsnWorkflow
protected void buildAsnWorkflow()
setup the workflow for Advance Shipping Notice
-
resetFactors
public void resetFactors()
-
saveAll
protected void saveAll()
-
cleanUpData
protected void cleanUpData()
-
cleanUpModel
protected void cleanUpModel(java.lang.String modelName)
-
refreshConsignmentAndEntries
protected void refreshConsignmentAndEntries(ConsignmentModel consignmentModel)
Refreshes theConsignmentModel
and itsConsignmentEntryModel
(s)- Parameters:
consignmentModel
- theConsignmentModel
to be refreshed
-
-