Class CatalogVersionSynchronizationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.adaptivesearch.integration.synchronization.CatalogVersionSynchronizationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class CatalogVersionSynchronizationTest extends ServicelayerTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
expectedException
-
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 CatalogVersionSynchronizationTest()
-
Method Summary
-
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() throws ImpExException
- Throws:
ImpExException
-
simpleSearchProfileNotFoundBeforeSynchronization
public void simpleSearchProfileNotFoundBeforeSynchronization() throws java.lang.Exception
- Throws:
java.lang.Exception
-
synchronizeSimpleSearchProfile
public void synchronizeSimpleSearchProfile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
synchronizeSimpleSearchProfileAfterUpdate1
public void synchronizeSimpleSearchProfileAfterUpdate1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
synchronizeSimpleSearchProfileAfterUpdate2
public void synchronizeSimpleSearchProfileAfterUpdate2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
catAwareSearchProfileNotFoundBeforeSynchronization
public void catAwareSearchProfileNotFoundBeforeSynchronization() throws java.lang.Exception
- Throws:
java.lang.Exception
-
synchronizeCatAwareSearchProfile
public void synchronizeCatAwareSearchProfile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
synchronizeCatAwareSearchProfileAfterUpdate1
public void synchronizeCatAwareSearchProfileAfterUpdate1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
synchronizeCatAwareSearchProfileAfterUpdate2
public void synchronizeCatAwareSearchProfileAfterUpdate2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
performSynchronization
protected void performSynchronization(CatalogVersionModel source, CatalogVersionModel target)
-
assertEqualsSearchProfile
protected void assertEqualsSearchProfile(AbstractAsSearchProfileModel searchProfile1, AbstractAsSearchProfileModel searchProfile2)
-
assertEqualsSimpleSearchProfile
protected void assertEqualsSimpleSearchProfile(AsSimpleSearchProfileModel searchProfile1, AsSimpleSearchProfileModel searchProfile2)
-
assertEqualsCatAwareSearchProfile
protected void assertEqualsCatAwareSearchProfile(AsCategoryAwareSearchProfileModel searchProfile1, AsCategoryAwareSearchProfileModel searchProfile2)
-
assertEqualsSearchConfiguration
protected void assertEqualsSearchConfiguration(AbstractAsConfigurableSearchConfigurationModel searchConfiguration1, AbstractAsConfigurableSearchConfigurationModel searchConfiguration2)
-
assertEqualsSimpleSearchConfiguration
protected void assertEqualsSimpleSearchConfiguration(AsSimpleSearchConfigurationModel searchConfiguration1, AsSimpleSearchConfigurationModel searchConfiguration2)
-
assertEqualsSimpleSearchConfigurations
protected void assertEqualsSimpleSearchConfigurations(java.util.List<AsSimpleSearchConfigurationModel> searchConfigurations1, java.util.List<AsSimpleSearchConfigurationModel> searchConfigurations2)
-
assertEqualsCatAwareSearchConfiguration
protected void assertEqualsCatAwareSearchConfiguration(AsCategoryAwareSearchConfigurationModel searchConfiguration1, AsCategoryAwareSearchConfigurationModel searchConfiguration2)
-
assertEqualsCatAwareSearchConfigurations
protected void assertEqualsCatAwareSearchConfigurations(java.util.List<AsCategoryAwareSearchConfigurationModel> searchConfigurations1, java.util.List<AsCategoryAwareSearchConfigurationModel> searchConfigurations2)
-
assertEqualsFacetConfiguration
protected void assertEqualsFacetConfiguration(AbstractAsFacetConfigurationModel facetConfiguration1, AbstractAsFacetConfigurationModel facetConfiguration2)
-
assertEqualsPromotedFacet
protected void assertEqualsPromotedFacet(AsPromotedFacetModel promotedFacet1, AsPromotedFacetModel promotedFacet2)
-
assertEqualsPromotedFacets
protected void assertEqualsPromotedFacets(java.util.List<AsPromotedFacetModel> promotedFacets1, java.util.List<AsPromotedFacetModel> promotedFacets2)
-
assertEqualsFacet
protected void assertEqualsFacet(AsFacetModel facet1, AsFacetModel facet2)
-
assertEqualsFacets
protected void assertEqualsFacets(java.util.List<AsFacetModel> facets1, java.util.List<AsFacetModel> facets2)
-
assertEqualsExcludedFacet
protected void assertEqualsExcludedFacet(AsExcludedFacetModel excludedFacet1, AsExcludedFacetModel excludedFacet2)
-
assertEqualsExcludedFacets
protected void assertEqualsExcludedFacets(java.util.List<AsExcludedFacetModel> excludedFacets1, java.util.List<AsExcludedFacetModel> excludedFacets2)
-
assertEqualsBoostItemConfiguration
protected void assertEqualsBoostItemConfiguration(AbstractAsBoostItemConfigurationModel boostItemConfiguration1, AbstractAsBoostItemConfigurationModel boostItemConfiguration2)
-
assertEqualsPromotedItem
protected void assertEqualsPromotedItem(AsPromotedItemModel promotedItem1, AsPromotedItemModel promotedItem2)
-
assertEqualsPromotedItems
protected void assertEqualsPromotedItems(java.util.List<AsPromotedItemModel> promotedItems1, java.util.List<AsPromotedItemModel> promotedItems2)
-
assertEqualsExcludedItem
protected void assertEqualsExcludedItem(AsExcludedItemModel excludedItem1, AsExcludedItemModel excludedItem2)
-
assertEqualsExcludedItems
protected void assertEqualsExcludedItems(java.util.List<AsExcludedItemModel> excludedItems1, java.util.List<AsExcludedItemModel> excludedItems2)
-
assertEqualsBoostRuleConfiguration
protected void assertEqualsBoostRuleConfiguration(AbstractAsBoostRuleConfigurationModel boostRule1, AbstractAsBoostRuleConfigurationModel boostRule2)
-
assertEqualsBoostRule
protected void assertEqualsBoostRule(AsBoostRuleModel boostRule1, AsBoostRuleModel boostRule2)
-
assertEqualsBoostRules
protected void assertEqualsBoostRules(java.util.List<AsBoostRuleModel> boostRules1, java.util.List<AsBoostRuleModel> boostRules2)
-
assertEqualsCategory
protected void assertEqualsCategory(CategoryModel category1, CategoryModel category2)
-
assertEqualsProduct
protected void assertEqualsProduct(ProductModel product1, ProductModel product2)
-
assertEqualsSortConfiguration
protected void assertEqualsSortConfiguration(AbstractAsSortConfigurationModel sortConfiguration1, AbstractAsSortConfigurationModel sortConfiguration2)
-
assertEqualsSort
protected void assertEqualsSort(AsSortModel sort1, AsSortModel sort2)
-
assertEqualsSorts
protected void assertEqualsSorts(java.util.List<AsSortModel> sorts1, java.util.List<AsSortModel> sorts2)
-
assertEqualsSortExpression
protected void assertEqualsSortExpression(AsSortExpressionModel sortExpression1, AsSortExpressionModel sortExpression2)
-
assertEqualsSearchProfileActivationSet
protected void assertEqualsSearchProfileActivationSet(java.util.Optional<AsSearchProfileActivationSetModel> activationSetResult1, java.util.Optional<AsSearchProfileActivationSetModel> activationSetResult2)
-
-