Class AsSortModelTest
- 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.AsSortModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsSortModelTest 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 AsSortModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloneSort()voidcreateMultipleSorts()voidcreateSort()voidcreateSortWithoutUid()voidfailToCreateSortWithoutCode()voidfailToCreateSortWithoutSearchConfiguration()voidfailToCreateSortWithWrongCatalogVersion()voidgetNonExistingSort()voidrankAfterSort()voidrankBeforeSort()voidremoveSort()voidsetUp()voidsortIsNotCorrupted()voidupdateSort()-
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
-
getNonExistingSort
public void getNonExistingSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
createSortWithoutUid
public void createSortWithoutUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
createSort
public void createSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortWithWrongCatalogVersion
public void failToCreateSortWithWrongCatalogVersion() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortWithoutSearchConfiguration
public void failToCreateSortWithoutSearchConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortWithoutCode
public void failToCreateSortWithoutCode() throws java.lang.Exception- Throws:
java.lang.Exception
-
createMultipleSorts
public void createMultipleSorts() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSort
public void updateSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
cloneSort
public void cloneSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
removeSort
public void removeSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
sortIsNotCorrupted
public void sortIsNotCorrupted() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankAfterSort
public void rankAfterSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankBeforeSort
public void rankBeforeSort() throws java.lang.Exception- Throws:
java.lang.Exception
-
-