Class AsFacetModelTest
- 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.AsFacetModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsFacetModelTest extends ServicelayerTransactionalTest
-
-
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 AsFacetModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cloneFacet()
void
createFacet()
void
createFacetWithoutUid()
void
createMultipleFacets()
void
facetIsNotCorrupted()
void
failToCreateFacetWithoutIndexProperty()
void
failToCreateFacetWithoutSearchConfiguration()
void
failToCreateFacetWithWrongCatalogVersion()
void
failToCreateFacetWithWrongIndexProperty()
void
failToCreateFacetWithWrongIndexPropertyType()
void
failToUpdateFacetIndexProperty()
void
getNonExistingFacet()
void
rankAfterFacet()
void
rankBeforeFacet()
void
removeFacet()
void
setUp()
void
updateFacet()
-
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
-
getNonExistingFacet
public void getNonExistingFacet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createFacetWithoutUid
public void createFacetWithoutUid() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createFacet
public void createFacet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateFacetWithWrongCatalogVersion
public void failToCreateFacetWithWrongCatalogVersion() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateFacetWithoutSearchConfiguration
public void failToCreateFacetWithoutSearchConfiguration() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateFacetWithoutIndexProperty
public void failToCreateFacetWithoutIndexProperty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateFacetWithWrongIndexProperty
public void failToCreateFacetWithWrongIndexProperty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateFacetWithWrongIndexPropertyType
public void failToCreateFacetWithWrongIndexPropertyType() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createMultipleFacets
public void createMultipleFacets() throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateFacet
public void updateFacet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToUpdateFacetIndexProperty
public void failToUpdateFacetIndexProperty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
cloneFacet
public void cloneFacet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeFacet
public void removeFacet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
facetIsNotCorrupted
public void facetIsNotCorrupted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
rankAfterFacet
public void rankAfterFacet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
rankBeforeFacet
public void rankBeforeFacet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-