@IntegrationTest public class ManualDeclineEndToEndIntegrationTest extends BaseSourcingIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CODE_BOSTON |
static java.lang.String |
CODE_MONTREAL |
java.util.Map<ConsignmentEntryModel,java.lang.Long> |
declineEntryInfo |
static java.lang.String |
NAME_MONTREAL_DOWNTOWN |
addresses, asns, atpFormulas, baseStores, deliveryModes, orders, pointsOfService, products, restockConfigService, sourcingService, stockLevels, users, warehousesflexibleSearchService, modelService, sessionService, springCustomContextLoaderimportServicejaloSession| 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, refreshOrder, resetFactors, setSourcingFactors, setupBaseStore, setupShoppersaveAll, setupBaseSitecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic static final java.lang.String CODE_MONTREAL
public static final java.lang.String CODE_BOSTON
public static final java.lang.String NAME_MONTREAL_DOWNTOWN
public java.util.Map<ConsignmentEntryModel,java.lang.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 © 2018 SAP SE. All Rights Reserved.