Class AsSortExpressionModelTest
- 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.AsSortExpressionModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsSortExpressionModelTest 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 AsSortExpressionModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloneSortExpression()voidcreateMultipleSortExpressions()voidcreateSortExpression()voidcreateSortExpressionWithoutOrder()voidcreateSortExpressionWithoutUid()voidcreateSortExpressionWithScore()voidfailToCreateMultipleSortExpressionsWithSameExpression()voidfailToCreateMultipleSortExpressionsWithSameUid()voidfailToCreateSortExpressionWithNotAllowedSortExpression()voidfailToCreateSortExpressionWithoutExpression()voidfailToCreateSortExpressionWithoutSortConfiguration()voidfailToCreateSortExpressionWithWrongCatalogVersion()voidfailToCreateSortExpressionWithWrongExpression()voidgetNonExistingSortExpression()voidrankAfterSortExpression()voidrankBeforeSortExpression()voidremoveSortExpression()voidsetUp()voidsortExpressionIsNotCorrupted()voidupdateSortExpression()-
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
-
getNonExistingSortExpression
public void getNonExistingSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
createSortExpressionWithoutUid
public void createSortExpressionWithoutUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
createSortExpression
public void createSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
createSortExpressionWithScore
public void createSortExpressionWithScore() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortExpressionWithWrongCatalogVersion
public void failToCreateSortExpressionWithWrongCatalogVersion() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortExpressionWithoutSortConfiguration
public void failToCreateSortExpressionWithoutSortConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortExpressionWithoutExpression
public void failToCreateSortExpressionWithoutExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortExpressionWithWrongExpression
public void failToCreateSortExpressionWithWrongExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateSortExpressionWithNotAllowedSortExpression
public void failToCreateSortExpressionWithNotAllowedSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
createSortExpressionWithoutOrder
public void createSortExpressionWithoutOrder() throws java.lang.Exception- Throws:
java.lang.Exception
-
createMultipleSortExpressions
public void createMultipleSortExpressions() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateMultipleSortExpressionsWithSameUid
public void failToCreateMultipleSortExpressionsWithSameUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateMultipleSortExpressionsWithSameExpression
public void failToCreateMultipleSortExpressionsWithSameExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateSortExpression
public void updateSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
cloneSortExpression
public void cloneSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
removeSortExpression
public void removeSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
sortExpressionIsNotCorrupted
public void sortExpressionIsNotCorrupted() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankAfterSortExpression
public void rankAfterSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankBeforeSortExpression
public void rankBeforeSortExpression() throws java.lang.Exception- Throws:
java.lang.Exception
-
-