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:
AtpFormulaIntegrationTest,CancellationIntegrationTest,DeclineIntegrationTest,OrderOnHoldIntegrationTest,OrderSourcingIntegrationTest,PartialAllocationIntegrationTest,ReturnIntegrationTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AtpFormulasprotected AutomatedWorkflowActionTemplatesprotected BaseStoresprotected static final Stringprotected static final Longprotected CancellationUtilprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected CommentTypesprotected CommerceStockServiceprotected Componentsprotected static final Stringprotected CsAgentGroupsprotected static final Stringprotected DeclineUtilprotected DeliveryModeModelprotected Domainsprotected EmailAddressesprotected static final Longprotected static final Stringprotected static final Longprotected static final Stringprotected static final Longprotected ModelServiceprotected OrderModelprotected static final Stringprotected BusinessProcessServiceprotected Ordersprotected PointsOfServiceprotected Productsprotected ProductServiceprotected static final Stringprotected static final Stringprotected RestockConfigsprotected ReturnUtilprotected SourcingBanServiceprotected SourcingConfigsprotected SourcingUtilprotected StockLevelsprotected StockServiceprotected static final intprotected Usersprotected Warehousesprotected WarehouseStockServiceprotected WorkflowActionTemplatesprotected WorkflowServiceprotected WorkflowTemplatesprotected WorkflowUtilFields inherited from class de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorIntegrationTest
flexibleSearchService, springCustomContextLoaderFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetup the workflow for Advance Shipping Noticeprotected voidsetup the workflow for Consignmentprotected voidprotected voidcleanUpModel(String modelName) protected voidrefreshConsignmentAndEntries(ConsignmentModel consignmentModel) Refreshes theConsignmentModeland itsConsignmentEntryModel(s)voidprotected voidsaveAll()voidsetup()Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
CODE_MEMORY_CARD
- See Also:
-
CODE_MONTREAL
- See Also:
-
CODE_MONTREAL_EXTERNAL
- See Also:
-
CODE_TORONTO
- See Also:
-
CODE_BOSTON
- See Also:
-
CODE_PARIS
- See Also:
-
CAMERA_QTY
-
LEFTOVER_QTY
-
MEMORY_CARD_QTY
-
LENS_QTY
-
CAMERA_CODE
- See Also:
-
MEMORY_CARD_CODE
- See Also:
-
LENS_CODE
- See Also:
-
DECLINE_ENTRIES
- See Also:
-
timeOut
protected static final int timeOut- See Also:
-
CONSIGNMENT_ACTION_EVENT_NAME
- See Also:
-
REALLOCATE_CONSIGNMENT_CHOICE
- See Also:
-
ORDER_ACTION_EVENT_NAME
- See Also:
-
RE_SOURCE_CHOICE
- See Also:
-
sourcingUtil
-
returnUtil
-
cancellationUtil
-
declineUtil
-
workflowUtil
-
pointsOfService
-
modelService
-
deliveryMode
-
order
-
stockLevels
-
products
-
productService
-
sourcingBanService
-
warehouses
-
stockService
-
commerceStockService
-
orders
-
baseStores
-
users
-
csAgentGroups
-
domains
-
components
-
commentTypes
-
sourcingConfigs
-
restockConfigs
-
warehouseStockService
-
orderBusinessProcessService
-
emailAddresses
-
atpFormulas
-
workflowTemplates
-
workflowActionTemplates
-
workflowService
-
automatedWorkflowActionTemplates
-
-
Constructor Details
-
BaseAcceleratorSourcingIntegrationTest
public BaseAcceleratorSourcingIntegrationTest()
-
-
Method Details
-
setup
- 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
-
refreshConsignmentAndEntries
Refreshes theConsignmentModeland itsConsignmentEntryModel(s)- Parameters:
consignmentModel- theConsignmentModelto be refreshed
-