@IntegrationTest public class ManualDeclineEndToEndIntegrationTest extends BaseSourcingIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
static String |
CODE_BOSTON |
static String |
CODE_MONTREAL |
Map<ConsignmentEntryModel,Long> |
declineEntryInfo |
static String |
NAME_MONTREAL_DOWNTOWN |
addresses, atpFormulas, baseStores, deliveryModes, orders, pointsOfService, products, restockConfigService, sourcingService, stockLevels, users, warehousesflexibleSearchService, modelService, sessionService, springCustomContextLoaderdefaultLanguage, jaloSession| Constructor and Description |
|---|
ManualDeclineEndToEndIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldManualDecline_FailedNoStock()
Given an shipping order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
void |
shouldManualDecline_FailedOverQuantity()
Given an shipping order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
void |
shouldManualDecline_ForceInStock()
Given an shipping order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
void |
shouldManualDecline_ForceOutOfStock()
Given an shipping order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
void |
shouldManualDecline_SuccessReSourced()
Given an shipping order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
void |
shouldManualDecline_SuccessReSourcedTwice()
Given an shipping order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
void |
shouldManualDecline2Entries_FailedReSourced()
Given an shipping order with 2 entries:
entry 1 : {quantity: 3, product: camera} entry 2 : {quantity: 3, product: memoryCard} |
void |
shouldManualDecline2Entries_SuccessReSourced()
Given an shipping order with 2 entries:
entry 1 : {quantity: 3, product: camera} entry 2 : {quantity: 3, product: memoryCard} |
void |
shouldPartiallyManualDecline_SuccessReSourced()
Given an shipping order with 1 entries:
entry 1 : {quantity: 3, product: camera} |
assertSourcingResultContents, getAllocationForProduct, refreshOrder, resetFactors, setSourcingFactors, setupBaseStore, setupShopper, verifyConsignment_Camera_MemoryCard, verifyConsignment_CamerasaveAll, setupBaseSitecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic static final String CODE_MONTREAL
public static final String CODE_BOSTON
public static final String NAME_MONTREAL_DOWNTOWN
public Map<ConsignmentEntryModel,Long> declineEntryInfo
public ManualDeclineEndToEndIntegrationTest()
public void setup()
public void shouldManualDecline_SuccessReSourced()
Result:
Manual Decline should SUCCESS without insufficient stock
public void shouldManualDecline_SuccessReSourcedTwice()
Result:
Manual Decline should SUCCESS without sufficient stock twice
public void shouldPartiallyManualDecline_SuccessReSourced()
Result:
Partially manual Decline should SUCCESS without insufficient stock
public void shouldManualDecline_FailedNoStock()
Result:
Manual Decline should fail,should at least have 1 stock in new location
public void shouldManualDecline_FailedOverQuantity()
Result:
Manual Decline should fail,should at least have 1 stock in new location
public void shouldManualDecline2Entries_SuccessReSourced()
Result:
Manual Decline should SUCCESS without insufficient stock
public void shouldManualDecline2Entries_FailedReSourced()
Result:
Manual Decline should failed
public void shouldManualDecline_ForceOutOfStock()
Result:
Manual Decline should SUCCESS without insufficient stock
public void shouldManualDecline_ForceInStock()
Result:
Manual Decline should SUCCESS without insufficient stock
Copyright © 2017 SAP SE. All Rights Reserved.