Class AsPromotedFacetModelTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.adaptivesearch.integration.model.AsPromotedFacetModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsPromotedFacetModelTest extends ServicelayerTransactionalTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedException-
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 AsPromotedFacetModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclonePromotedFacet()voidcreateMultiplePromotedFacets()voidcreatePromotedFacet()voidcreatePromotedFacetWithoutUid()voidfailToCreatePromotedFacetWithoutIndexProperty()voidfailToCreatePromotedFacetWithoutSearchConfiguration()voidfailToCreatePromotedFacetWithWrongCatalogVersion()voidfailToCreatePromotedFacetWithWrongIndexProperty()voidfailToCreatePromotedFacetWithWrongIndexPropertyType()voidfailToUpdatePromotedFacetIndexProperty()voidgetNonExistingPromotedFacet()voidpromotedFacetIsNotCorrupted()voidrankAfterPromotedFacet()voidrankBeforePromotedFacet()voidremovePromotedFacet()voidsetUp()voidupdatePromotedFacet()-
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
-
getNonExistingPromotedFacet
public void getNonExistingPromotedFacet() throws java.lang.Exception- Throws:
java.lang.Exception
-
createPromotedFacetWithoutUid
public void createPromotedFacetWithoutUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
createPromotedFacet
public void createPromotedFacet() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetWithWrongCatalogVersion
public void failToCreatePromotedFacetWithWrongCatalogVersion() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetWithoutSearchConfiguration
public void failToCreatePromotedFacetWithoutSearchConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetWithoutIndexProperty
public void failToCreatePromotedFacetWithoutIndexProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetWithWrongIndexProperty
public void failToCreatePromotedFacetWithWrongIndexProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetWithWrongIndexPropertyType
public void failToCreatePromotedFacetWithWrongIndexPropertyType() throws java.lang.Exception- Throws:
java.lang.Exception
-
createMultiplePromotedFacets
public void createMultiplePromotedFacets() throws java.lang.Exception- Throws:
java.lang.Exception
-
updatePromotedFacet
public void updatePromotedFacet() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToUpdatePromotedFacetIndexProperty
public void failToUpdatePromotedFacetIndexProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
clonePromotedFacet
public void clonePromotedFacet() throws java.lang.Exception- Throws:
java.lang.Exception
-
removePromotedFacet
public void removePromotedFacet() throws java.lang.Exception- Throws:
java.lang.Exception
-
promotedFacetIsNotCorrupted
public void promotedFacetIsNotCorrupted() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankAfterPromotedFacet
public void rankAfterPromotedFacet() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankBeforePromotedFacet
public void rankBeforePromotedFacet() throws java.lang.Exception- Throws:
java.lang.Exception
-
-