Class AsPromotedSortModelTest
- 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.AsPromotedSortModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsPromotedSortModelTest 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 AsPromotedSortModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclonePromotedSort()voidcreateMultiplePromotedSorts()voidcreatePromotedSort()voidcreatePromotedSortWithoutUid()voidfailToCreatePromotedSortWithoutCode()voidfailToCreatePromotedSortWithoutSearchConfiguration()voidfailToCreatePromotedSortWithWrongCatalogVersion()voidgetNonExistingPromotedSort()voidpromotedSortIsNotCorrupted()voidrankAfterPromotedSort()voidrankBeforePromotedSort()voidremovePromotedSort()voidsetUp()voidupdatePromotedSort()-
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
-
getNonExistingPromotedSort
public void getNonExistingPromotedSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
createPromotedSortWithoutUid
public void createPromotedSortWithoutUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
createPromotedSort
public void createPromotedSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedSortWithWrongCatalogVersion
public void failToCreatePromotedSortWithWrongCatalogVersion() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedSortWithoutSearchConfiguration
public void failToCreatePromotedSortWithoutSearchConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedSortWithoutCode
public void failToCreatePromotedSortWithoutCode() throws java.lang.Exception- Throws:
java.lang.Exception
-
createMultiplePromotedSorts
public void createMultiplePromotedSorts() throws java.lang.Exception- Throws:
java.lang.Exception
-
updatePromotedSort
public void updatePromotedSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
clonePromotedSort
public void clonePromotedSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
removePromotedSort
public void removePromotedSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
promotedSortIsNotCorrupted
public void promotedSortIsNotCorrupted() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankAfterPromotedSort
public void rankAfterPromotedSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankBeforePromotedSort
public void rankBeforePromotedSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
-