Class AsnIntegrationTest
- 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
-
- de.hybris.platform.yacceleratorordermanagement.integration.AsnIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
public class AsnIntegrationTest extends BaseAcceleratorSourcingIntegrationTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorSourcingIntegrationTest
atpFormulas, automatedWorkflowActionTemplates, baseStores, CAMERA_CODE, CAMERA_QTY, cancellationUtil, CODE_BOSTON, CODE_MEMORY_CARD, CODE_MONTREAL, CODE_MONTREAL_EXTERNAL, CODE_PARIS, CODE_TORONTO, commentTypes, commerceStockService, components, CONSIGNMENT_ACTION_EVENT_NAME, csAgentGroups, DECLINE_ENTRIES, declineUtil, deliveryMode, domains, emailAddresses, LEFTOVER_QTY, LENS_CODE, LENS_QTY, MEMORY_CARD_CODE, MEMORY_CARD_QTY, modelService, order, ORDER_ACTION_EVENT_NAME, orderBusinessProcessService, orders, pointsOfService, products, productService, RE_SOURCE_CHOICE, REALLOCATE_CONSIGNMENT_CHOICE, restockConfigs, returnUtil, sourcingBanService, sourcingConfigs, sourcingUtil, stockLevels, stockService, timeOut, users, warehouses, warehouseStockService, workflowActionTemplates, workflowService, workflowTemplates, workflowUtil
-
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 AsnIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanUp()protected voidcreateDefaultAsn()create default asn for boston with camera quantity 3voidsetUp()voidtestAutoReallocate_SingleEntry_Damaged_AsnCreated_AllocatedToRegularStock()voidtestAutoReallocate_SingleEntry_OutOfStock_AsnCreated_AllocatedToAsn()voidtestAutoReallocate_SingleEntry_OutOfStock_AsnCreated_AllocatedToRegularStock()voidtestAutoReallocate_SingleEntry_OutOfStock_AsnReceived_AllocatedToRegularStock()voidtestDeclineAfterSourceFromAsn_ThenCancelAsn()voidtestOrderSourcingFromAsnStock()voidtestSourcingFail_CancelledAsn()-
Methods inherited from class de.hybris.platform.yacceleratorordermanagement.integration.BaseAcceleratorSourcingIntegrationTest
buildAsnWorkflow, buildConsignmentWorkflow, cleanUpData, cleanUpModel, refreshConsignmentAndEntries, resetFactors, saveAll, 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
-
-
-
-
Method Detail
-
setUp
public void setUp()
-
cleanUp
public void cleanUp()
-
testOrderSourcingFromAsnStock
public void testOrderSourcingFromAsnStock() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testDeclineAfterSourceFromAsn_ThenCancelAsn
public void testDeclineAfterSourceFromAsn_ThenCancelAsn() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testSourcingFail_CancelledAsn
public void testSourcingFail_CancelledAsn() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testAutoReallocate_SingleEntry_OutOfStock_AsnCreated_AllocatedToRegularStock
public void testAutoReallocate_SingleEntry_OutOfStock_AsnCreated_AllocatedToRegularStock() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testAutoReallocate_SingleEntry_Damaged_AsnCreated_AllocatedToRegularStock
public void testAutoReallocate_SingleEntry_Damaged_AsnCreated_AllocatedToRegularStock() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testAutoReallocate_SingleEntry_OutOfStock_AsnReceived_AllocatedToRegularStock
public void testAutoReallocate_SingleEntry_OutOfStock_AsnReceived_AllocatedToRegularStock() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testAutoReallocate_SingleEntry_OutOfStock_AsnCreated_AllocatedToAsn
public void testAutoReallocate_SingleEntry_OutOfStock_AsnCreated_AllocatedToAsn() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
createDefaultAsn
protected void createDefaultAsn()
create default asn for boston with camera quantity 3
-
-