Package de.hybris.platform.servicelayer
Class ServicelayerTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
AbstractAsSynchronizationTest
,AbstractBundleRuleIDPrepareInterceptorIntegrationTest
,AbstractCMSVersionIntegrationTest
,AbstractControllerIntegrationIntegrationTest
,AbstractCouponAwareCartIT
,AbstractCouponWebServicesTest
,AbstractEventPopulatorTest
,AbstractFindTaxValuesStrategyTest
,AbstractIntegrationTest
,AbstractItemImportFacadeIntegrationTest
,AbstractJobIntegrationTest
,AbstractOrderManagementTest
,AbstractPermissionsWebServicesTest
,AbstractPlatformRuleEngineServiceIT
,AbstractProcessDemoTest
,AbstractRetentionRulesIntegrationTest
,AbstractRuleEngineServicesTest
,AbstractVJDBCServicelayerTransactionalTest
,AbstractVoucherTest
,AbstractWebServicesTest
,AbstractYFormFacadeKeywords
,AcceleratorPromotionsTest
,AfterSessionUserChangeListenerTest
,AsCategoryAwareSearchConfigurationModelTest
,AsSearchConfigurationModelTest
,AsSimpleSearchConfigurationModelTest
,AssistedServiceQuoteUserIdentificationStrategyIntegrationTest
,AssistedServiceServiceTest
,AssistedServiceSessionTest
,AvsClientTest
,AvsMockClientTest
,B2BCustomerListSearchStrategyIntegrationTest
,B2BIntegrationTest
,B2BInvoiceDaoImplTest
,BaseAcceleratorIntegrationTest
,BaseCommerceBaseTest
,BasecommerceTest
,BaseContextIntegrationTest
,BaseIntegrationTest
,BaseOrderManagementWebservicesIntegrationTest
,BaseWebservicesIntegrationTest
,BaseWebServiceTest
,BatchIntegrationTest
,BeansDefinitionImportParserTest
,BulkyTestDataLoader
,BundledCommerceCartServiceTest
,BundleOrderEntryRemoveableCheckerNestedIntegrationTest
,BundleSelectionCriteriaIDPrepareInterceptorIntegrationTest
,BundleTemplatePrepareInterceptorIntegrationTest
,BundleTemplateRemoveInterceptorIntegrationTest
,BundleTemplateStatusIDPrepareInterceptorIntegrationTest
,C4CSyncJobPerformableTest
,C4CTicketFacadeImplTest
,CalculatePersonalizationForUserActionIntegrationTest
,CalculatePersonalizationForUserActionTest
,CartRaoPopulatorTest
,CartSessionCurrencyChangeTest
,CatalogAwareEurope1PriceFactoryTest
,CatalogSystemSetupTest
,CatalogVersionSynchronizationTest
,CategoryPerformanceTest
,CircularReferencesPrefetchAllTest
,CisAddressVerificationServiceIntegrationTest
,CisCalculateExternalTaxesStrategyIntegrationTest
,CisPaymentResponseInterpretationStrategyIntegrationTest
,ClassAttributePropertyDescriptorTest
,ClassAttrWithDotsTest
,ClassificationAttributeTranslatorIntegrationTest
,ClassificationClassesResolverIntegrationTest
,ClassificationTypeSystemSheetPopulatorIntegrationTest
,ClientTest
,CloneAddressTest
,ClonePaymentInfoTest
,CMSItemRemoveIntegrationTest
,CMSPageLockingServiceTest
,CMSRelationInitDefaultsInterceptorIntegrationTest
,CockpitSavedParameterValueModelTest
,CodeGenerationConfigurationWebServicesTest
,ConcurrentPromotionUpdateTest
,ConditionalAuditCartTest
,ConditionalAuditTxTest
,ConflictingItemsImportTest
,ConstraintGroupValidationOnSaveIT
,ContentSlotForPageInitDefaultsInterceptorTest
,ContentSlotForTemplateInitDefaultsInterceptorTest
,ConvertorsTest
,CountryPropertyCheckVerificationRequiredStrategyTest
,CouponCodeGenerationWebServicesTest
,CouponRedemptionWebServicesTest
,CPQServiceLayerTest
,CsCustomerEventPrepareInterceptorTest
,CustomerDeltaTest
,CustomersWithOrdersRetentionCronJobIntegrationTest
,CustomersWithoutOrdersRetentionCronJobIntegrationTest
,CxCmsComponentContainerModelVisitorIntegrationTest
,CxContentSlotModelToDataRenderingPopulatorIntegrationTest
,CxPersonalizationProcessCleanupCronJobIntegrationTest
,CxPromotionActionIntegrationTest
,CxPromotionEvaluationIntegrationTest
,DefaultApiRegistryClientServiceIntegrationTest
,DefaultAssistedServicePromotionFacadeTest
,DefaultB2BApprovalProcessFacadeIntegrationTest
,DefaultB2BApprovalProcessLookUpStrategyIntegrationTest
,DefaultB2BApprovalProcessServiceIntegrationTest
,DefaultB2BApproverServiceIntegrationTest
,DefaultB2BCommerceCostCenterServiceIntegrationTest
,DefaultB2BCommerceUnitServiceIntegrationTest
,DefaultB2BRegistrationDaoIntegrationTest
,DefaultB2BRegistrationServiceIntegrationTest
,DefaultBaseSiteFacadeIntegrationTest
,DefaultBaseStoreFacadeIntegrationTest
,DefaultBopisCustomerListSearchStrategyTest
,DefaultBundleCommerceRuleServiceIntegrationTest
,DefaultBundleRuleServiceNestedIntegrationTest
,DefaultBundleTemplateDaoIntegrationTest
,DefaultBundleTemplateServiceCSIntegrationTest
,DefaultBundleTemplateServiceIntegrationTest
,DefaultBundleTemplateServiceNestedIntegrationTest
,DefaultC4CAggregatingCollectorIntegrationTest
,DefaultC4CAggregatingCollectorUnitTest
,DefaultCartEntryActionFacadeIntegrationTest
,DefaultCartEntryDaoIntegrationTest
,DefaultCertificateServiceIT
,DefaultChangeProductPriceBundleRuleDaoIntegrationTest
,DefaultCisSubscriptionAuthorizationCommandTest
,DefaultCMSAdminRestrictionServiceIntegrationTest
,DefaultCMSComponentServiceIntegrationTest
,DefaultCMSContentSlotServiceIntegrationTest
,DefaultCMSRestrictionServiceIntegrationTest
,DefaultCockpitCollectionServiceIntegrationTest
,DefaultCockpitConfigurationServiceIntegrationTest
,DefaultCommerceCartServiceIntegrationTest
,DefaultCommerceCartServiceRestorationTest
,DefaultCommerceConsentServiceIntegrationTest
,DefaultCommercePriceServiceIntTest
,DefaultCommerceQuoteDaoTest
,DefaultCommerceQuoteServiceIntegrationTest
,DefaultCommerceRuleEngineCacheServiceIT
,DefaultCommerceSaveCartServiceIntegrationTest
,DefaultConsentDaoIntegrationTest
,DefaultConsentFacadeIntegrationTest
,DefaultConsentPrepareInterceptorTest
,DefaultConsentTemplateDaoIntegrationTest
,DefaultCountryDaoTest
,DefaultCredentialDaoTest
,DefaultCredentialServiceIntegrationTest
,DefaultCurrencyDaoTest
,DefaultCustomerAccountDaoTest
,DefaultCustomerDaoTest
,DefaultCustomerFacadeIntegrationTest
,DefaultCustomerFacadeIntegrationTest
,DefaultCustomerGroupDaoTest
,DefaultCxActionResultServiceIntegrationTest
,DefaultCxIntegrationMappingServiceIntegrationTest
,DefaultCxPersonalizationBusinessProcessDaoTest
,DefaultCxServiceCmsIntegrationTest
,DefaultCxUpdateSegmentStrategyIntegrationTest
,DefaultDestinationDaoTest
,DefaultDestinationTargetCloningStrategyIT
,DefaultDestinationTargetDaoTest
,DefaultDisableProductBundleRuleDaoIntegrationTest
,DefaultDroolsKIEModuleMediaDaoIT
,DefaultEmailTemplateServiceIntegrationTest
,DefaultEntitlementDaoIntegrationTest
,DefaultEntitlementIntegrationTest
,DefaultEntryGroupServiceIntegrationTest
,DefaultEventConfigurationDaoTest
,DefaultEventDlqServiceIntegrationTest
,DefaultEventPropertiesTest
,DefaultExportDataFactoryIntegrationTest
,DefaultExpressCheckoutIntegrationCheckoutTest
,DefaultExternalTaxesServiceIntegrationTest
,DefaultFacetSortProviderTest
,DefaultFlexibleCMSItemSearchServiceIntegrationTest
,DefaultFormatFactoryIntegrationTest
,DefaultImportProcessorTest
,DefaultImportServiceIntegrationTest
,DefaultInStoreCustomerListSearchStrategyTest
,DefaultKieModuleServiceIT
,DefaultLabelServiceIntegrationTest
,DefaultLanguageDaoTest
,DefaultOndemandDiscountableEntryStrategyTest
,DefaultOndemandPreferenceSelectorServiceTest
,DefaultOndemandSourceDeliveryFromStrategyTest
,DefaultPermissionsFacadeIntegrationTest
,DefaultPointOfServiceDaoIT
,DefaultProductCarouselFacadeIntegrationTest
,DefaultProductExportFacadeIntegrationTest
,DefaultProductFacadeIntegrationTest
,DefaultPunchOutServiceIntegrationTest
,DefaultRecentlyStartedSessionCustomerListSearchStrategyTest
,DefaultRegionDaoTest
,DefaultRelatedPageRejectionServiceIntegrationTest
,DefaultRequiredAttributesFactoryIntegrationTest
,DefaultReturnRequestDaoTest
,DefaultRuleBasedPromotionsContextValidatorIT
,DefaultRuleEngineContextDaoIT
,DefaultRuleEngineContextForCatalogVersionsFinderStrategyIT
,DefaultRuleEngineCronJobDAOTest
,DefaultRuleEngineJobServiceTest
,DefaultRuleEngineSpliteratorStrategyConfigurationIT
,DefaultRuleEngineSystemSetupIntegrationTest
,DefaultRuleGroupDaoIT
,DefaultRulesModuleDaoIT
,DefaultSearchRestrictionServiceDemoTest
,DefaultSearchRestrictionServiceIntegrationTest
,DefaultSetupImpexServiceTest
,DefaultSetupSyncJobServiceTest
,DefaultShowSuggestedAddressesStrategyTest
,DefaultStoreFinderFacadeIntegrationTest
,DefaultTicketEventPopulatorTest
,DefaultTicketPopulatorTest
,DefaultUserFacadeIntegrationTest
,DefaultWarehouseDaoTest
,DefaultWorkflowActionDaoTest
,DefaultYFormFacadeTest
,DefaultYFormServiceTest
,DestinationTargetValidateInterceptorIntegrationTest
,DiscountRowRepositoryTest
,DynamicAttributesOrderStatusDisplayTest
,DynamicAttributestTest
,DynamicAttributeTests
,EventMappingValidValidatorTest
,EventSourceDataRouterTest
,ExcelAttributeDescriptorAttributeIntegrationTest
,ExcelGenericReferenceTranslatorIntegrationTest
,ExcelGenericReferenceValidatorIntegrationTest
,ExcelIntegrationTest
,ExportDataTest
,ExternalImportKeyTest
,FeatureGenericQueryConditionTranslatorIntegrationTest
,FindPriceValuesStrategySLOnlyTest
,FraudCheckIntegrationTest
,FraudMockClientTest
,GeolocationClientTest
,GeolocationMockClientTest
,GeoWebServiceWrapperTest
,HybrisPropertiesWebApplicationContextInitializerTest
,ImpexAfterEachTest
,ImpexRelationChunkingTest
,ImportValidationModesTest
,InboundRequestRetentionCleanupIntegrationTest
,IntegrationObjectServiceIntegrationTest
,ItemCopyCreatorTest
,ItemModelCloneCreatorTest
,ItemModelTest
,KeywordDaoTest
,KymaCertificateRenewalTaskRunnerTest
,KymaDestinationTargetCloningStrategyIT
,KymaDestinationTargetRegistrationStrategyIT
,KymaEventEmitStrategyTest
,KymaEventEmitTaskRunnerTest
,KymaEventJsonPopulatorTest
,KymaEventPopulatorTest
,LocalViewExecutorIntegrationTest
,MarketplaceSetupSyncJobServiceTest
,MediaAttributePredicateIntegrationTest
,MediaContainerAttributePredicateIntegrationTest
,ModuleSwapCompletedListenerIT
,MultiCodeCouponValidationIT
,NavigationNodeRemoveInterceptorIntegrationTest
,OAuthAuthorizationWebServiceTest
,ODataAdvancedPersistenceFacadeIntegrationTest
,ODataBatchPersistenceFacadeIntegrationTest
,ODataCollectionsPersistenceFacadeIntegrationTest
,ODataEnumTypeIntegrationTest
,ODataFacadeInboundMonitoringIntegrationTest
,ODataFacadePersistHooksIntegrationTest
,ODataProcessorIntegrationTest
,ODataSchemaGenerationFacadeIntegrationTest
,OneTimeChargeEntryValidationInterceptorIntegrationTest
,OpeningScheduleModelUniqunessIntegrationTest
,OpeningSchedulePopulatorIntegrationTest
,OrderEntriesArrangementTest
,OrderPrepareInterceptorIntegrationTest
,OrderSchedulingIntegrationTest
,OrdersRetentionCronJobIntegrationTest
,OutboundRequestRetentionCleanupIntegrationTest
,PaymentClientTest
,PaymentIntegrationTest
,PaymentMockClientTest
,PaymentTest
,PrepareCurrencyInterceptorTest
,PreviewPersonalizationWebServicesTest
,PriceRowChannelTest
,ProductDaoTest
,ProductEntitlementInitDefaultsInterceptorTest
,ProductEntitlementIntegrationTest
,ProductReferencesDaoTest
,PromotionEngineServiceBaseTest
,RankingCMSRestrictionServiceIntegrationTest
,RefundServiceTest
,RemoveCurrencyInterceptorTest
,RemoveLanguageIntercetorTest
,RestTemplateWrapperTest
,RetentionCleanupIntegrationTest
,RetrieveChannelStrategyTest
,RetrieveChannelStrategyTestSL
,ReturnsServiceTest
,RuleModuleCatalogVersionAttributeHandlerIT
,RuleVersioningIT
,SampleWebServicesTest
,SAPLoggingConfigChangeListenerTest
,SAPLoggingProxyListenerTest
,SchemaGeneratorIntegrationTest
,SearchRestrictionTest
,ServiceLayerSynchronizationPersistenceAdapterTest
,ServicelayerTransactionalTest
,ShippingClientTest
,ShippingMockClientTest
,SingleCodeCouponValidationIT
,SiteResolverTest
,SpringPrototypePerfTest
,StockServiceTest
,StoreFinderStockFacadeIntegrationTest
,SwaggerJsonGenerator
,SyncDiscountRowsTest
,SynchronizationMediaTest
,SynchronizeCollectionsTest
,SyncWithSessionContextTest
,TaxClientTest
,TaxIntegrationTest
,TaxMockClientTest
,TaxValuesCountTest
,TicketFacadeFactoryTest
,TicketsRetentionCronJobIntegrationTest
,UniqueOptionalAttributeTest
,UntaxedEntriesCalculationTest
,UserGroupAttributePredicateIntegrationTest
,UserTypeSegmentsProviderIntegrationTest
,ValidateCurrencyInterceptorTest
,VariantProductIntegrationTest
,WebserviceSpecificationPopulatorIT
,WorkflowActionDefaultCodeInterceptorTest
,WorkflowDecisionDefaultCodeInterceptorTest
,WorkflowItemAttachmentDefaultCodeInterceptorTest
,WorkflowTemplateDefaultCodeInterceptorTest
,XMLExternalEntityExpansionTest
,XMLExternalEntityExpansionTest
,ZoneDeliveryModeValueDaoTest
public abstract class ServicelayerTest extends ServicelayerBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description protected ImportService
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServicelayerTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
createCoreData()
static void
createDefaultCatalog()
static void
createDefaultUsers()
static void
createHardwareCatalog()
protected org.springframework.context.ApplicationContext
getApplicationContext()
protected static void
importCsv(java.lang.String csvFile, java.lang.String encoding)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importCsv(java.lang.String, java.lang.String)void
importData(ImpExResource resource)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(de.hybris.platform.servicelayer.impex.ImpExResource, de.hybris.platform.servicelayer.impex.ImportService)ImportResult
importData(ImportConfig config)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(de.hybris.platform.servicelayer.impex.ImportConfig, de.hybris.platform.servicelayer.impex.ImportService)void
importData(java.lang.String resource, java.lang.String encoding)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(java.lang.String, java.lang.String, de.hybris.platform.servicelayer.impex.ImportService)protected static void
importStream(java.io.InputStream is, java.lang.String encoding, java.lang.String resourceName)
protected static void
importStream(java.io.InputStream is, java.lang.String encoding, java.lang.String resourceName, boolean hijackExceptions)
protected boolean
isPrefetchModeNone()
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#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
-
-
-
-
Field Detail
-
importService
protected ImportService importService
-
-
Method Detail
-
createCoreData
public static void createCoreData() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createDefaultCatalog
public static void createDefaultCatalog() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createHardwareCatalog
public static void createHardwareCatalog() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createDefaultUsers
public static void createDefaultUsers() throws java.lang.Exception
- Throws:
java.lang.Exception
-
importData
public void importData(java.lang.String resource, java.lang.String encoding) throws ImpExException
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(java.lang.String, java.lang.String, de.hybris.platform.servicelayer.impex.ImportService)- Parameters:
resource
- location of classpath resource that will be importedencoding
- encoding of classpath resource- Throws:
ImpExException
-
importData
public void importData(ImpExResource resource) throws ImpExException
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(de.hybris.platform.servicelayer.impex.ImpExResource, de.hybris.platform.servicelayer.impex.ImportService)- Parameters:
resource
- impex resource to load- Throws:
ImpExException
-
importData
public ImportResult importData(ImportConfig config) throws ImpExException
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(de.hybris.platform.servicelayer.impex.ImportConfig, de.hybris.platform.servicelayer.impex.ImportService)- Parameters:
config
- with import details.- Returns:
- import result
- Throws:
ImpExException
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext()
- Overrides:
getApplicationContext
in classServicelayerBaseTest
-
importCsv
protected static void importCsv(java.lang.String csvFile, java.lang.String encoding) throws ImpExException
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importCsv(java.lang.String, java.lang.String)- Parameters:
csvFile
- name of file to import from classpathencoding
- encoding to use- Throws:
ImpExException
-
importStream
protected static void importStream(java.io.InputStream is, java.lang.String encoding, java.lang.String resourceName) throws ImpExException
- Throws:
ImpExException
-
importStream
protected static void importStream(java.io.InputStream is, java.lang.String encoding, java.lang.String resourceName, boolean hijackExceptions) throws ImpExException
- Throws:
ImpExException
-
isPrefetchModeNone
protected boolean isPrefetchModeNone()
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#isPrefetchModeNone()
-
-