Class CPSOMSOrderUploadIntegrationTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.sap.productconfig.services.integrationtests.CPQServiceLayerTest
de.hybris.platform.sap.productconfig.cpiorderexchange.integrationtests.CPSOMSOrderUploadIntegrationTest
All Implemented Interfaces:
de.hybris.platform.testframework.JaloSessionHolder

@ManualTest public class CPSOMSOrderUploadIntegrationTest extends de.hybris.platform.sap.productconfig.services.integrationtests.CPQServiceLayerTest
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected de.hybris.platform.servicelayer.user.AddressService
     
    protected Class<?>
     
    protected de.hybris.platform.order.DeliveryModeService
     
    protected Method
     
    protected Object
     
    protected de.hybris.platform.commerceservices.order.CommercePlaceOrderStrategy
     
    protected Object
     
     
     

    Fields inherited from class de.hybris.platform.sap.productconfig.services.integrationtests.CPQServiceLayerTest

    authenticationService, baseSiteService, baseStoreService, cartService, catalogVersionService, commerceCartService, commonI18NService, configurationLifecycleStrategy, configurationProductUtil, cpqAbstractOrderEntryLinkStrategy, cpqService, cpqServiceNoRules, customerModel, externalConfigurationAccess, flexibleSearchService, i18NService, KB_CONF_HOME_THEATER, KB_CPQ_HOME_THEATER, KB_CPQ_LAPTOP, KB_CPQ_LAPTOP_MUSIC, KB_Y_SAP_SIMPLE_POC, modelService, PDT_CALCULATION_MODE, PDT_CALCULATION_MODE_SERVICE_LAYER, pdtCalculationMode, PRODUCT_CODE_CONF_HOME_THEATER, PRODUCT_CODE_CONF_PIPE, PRODUCT_CODE_CPQ_HOME_THEATER, PRODUCT_CODE_CPQ_LAPTOP, PRODUCT_CODE_CPQ_LAPTOP_MUSIC, PRODUCT_CODE_CPQ_LAPTOP_MUZAC, PRODUCT_CODE_YSAP_NOCFG, PRODUCT_CODE_YSAP_SIMPLE_POC, productConfigurationCacheAccessService, productService, providerFactory, realUserService, serviceConfigValueHelper, TEST_CONFIGURE_SITE

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addConfigToCart(de.hybris.platform.sap.productconfig.runtime.interf.KBKey kbKey)
     
    protected void
     
    protected void
     
    protected void
     
    void
     
    protected void
     
    protected void
     
    protected void
     
     
    void
     
    void
     
    protected Set<SAPOrderModel>
    waitForSAPOrders(OrderModel order, int timeOut)
     

    Methods inherited from class de.hybris.platform.sap.productconfig.services.integrationtests.CPQServiceLayerTest

    adjustEnvironment, cleanUpEnvironment, clearProductConfigurationItems, createCoreData, disableSOMIfPresent, ensureCPSProvider, ensureMockProvider, ensureNoRulesCPSWithDefaultLifecyclce, ensureSSCProvider, getFromPersistence, getLifecycleBeanName, importCPQStockData, importCPQTestData, importCPQUserData, importCsvIfExist, importPromotionDummyDataIfRequired, importSapConfigurationTestDataIfExisting, initProviders, isDefaultLifecycle, isExtensionInSetup, isPersistentLifecycle, login, makeProductCatalogVersionAvailableInSession, prepareCPQData, selectStrategyTestChecker, tearDown, useCurrency_USD, useLocale_EN

    Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • placeOrderStrategy

      protected de.hybris.platform.commerceservices.order.CommercePlaceOrderStrategy placeOrderStrategy
    • deliveryModeService

      protected de.hybris.platform.order.DeliveryModeService deliveryModeService
    • addressService

      protected de.hybris.platform.servicelayer.user.AddressService addressService
    • testDefaultOutboundService

      protected TestSapCpiOutboundServiceImpl testDefaultOutboundService
    • switchableProductConfigIntegrationCloneAbstractOrderHook

      protected SwitchableProductConfigIntegrationCloneAbstractOrderHook switchableProductConfigIntegrationCloneAbstractOrderHook
    • sapSendConsignmentToSapCpiStrategy

      protected Object sapSendConsignmentToSapCpiStrategy
    • originalOutboundService

      protected Object originalOutboundService
    • classSapSendConsignmentToSapCpiStrategy

      protected Class<?> classSapSendConsignmentToSapCpiStrategy
    • methodSetService

      protected Method methodSetService
  • Constructor Details

    • CPSOMSOrderUploadIntegrationTest

      public CPSOMSOrderUploadIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • cleanUp

      public void cleanUp() throws Exception
      Throws:
      Exception
    • testOrderSplitWithConfigurator

      public void testOrderSplitWithConfigurator() throws Exception
      Throws:
      Exception
    • addConfigToCart

      protected void addConfigToCart(de.hybris.platform.sap.productconfig.runtime.interf.KBKey kbKey) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • login

      protected void login() throws de.hybris.platform.servicelayer.security.auth.InvalidCredentialsException
      Throws:
      de.hybris.platform.servicelayer.security.auth.InvalidCredentialsException
    • checkSapOrder

      protected void checkSapOrder(SAPOrderModel sapOrderModel)
    • placeOrder

      protected CommerceOrderResult placeOrder() throws de.hybris.platform.order.InvalidCartException
      Throws:
      de.hybris.platform.order.InvalidCartException
    • addDeliveryInfo

      protected void addDeliveryInfo()
    • addPaymentInfo

      protected void addPaymentInfo()
    • waitForSAPOrders

      protected Set<SAPOrderModel> waitForSAPOrders(OrderModel order, int timeOut) throws InterruptedException
      Throws:
      InterruptedException
    • importSCPIData

      protected void importSCPIData() throws de.hybris.platform.impex.jalo.ImpExException
      Throws:
      de.hybris.platform.impex.jalo.ImpExException
    • importOMSData

      protected void importOMSData() throws de.hybris.platform.impex.jalo.ImpExException
      Throws:
      de.hybris.platform.impex.jalo.ImpExException