Class AsBoostRuleModelTest
- 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.AsBoostRuleModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsBoostRuleModelTest 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 AsBoostRuleModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidboostRuleIsNotCorrupted()voidcloneBoostRule()voidcreateBoostRule()voidcreateBoostRuleWithoutUid()voidcreateMultipleBoostRules()voidfailToCreateBoostRuleWithNumericValueForStringIndexProperty()voidfailToCreateBoostRuleWithoutIndexProperty()voidfailToCreateBoostRuleWithoutSearchConfiguration()voidfailToCreateBoostRuleWithStringValueForNumericIndexProperty()voidfailToCreateBoostRuleWithWrongBoostOperator()voidfailToCreateBoostRuleWithWrongCatalogVersion()voidfailToCreateBoostRuleWithWrongIndexProperty()voidfailToCreateMultipleBoostRulesWithSameUid()voidgetNonExistingBoostRule()voidrankAfterBoostRule()voidrankBeforeBoostRule()voidremoveBoostRule()voidsetUp()voidupdateBoostRule()-
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
-
getNonExistingBoostRule
public void getNonExistingBoostRule() throws java.lang.Exception- Throws:
java.lang.Exception
-
createBoostRuleWithoutUid
public void createBoostRuleWithoutUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
createBoostRule
public void createBoostRule() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateBoostRuleWithWrongCatalogVersion
public void failToCreateBoostRuleWithWrongCatalogVersion() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateBoostRuleWithoutSearchConfiguration
public void failToCreateBoostRuleWithoutSearchConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateBoostRuleWithoutIndexProperty
public void failToCreateBoostRuleWithoutIndexProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateBoostRuleWithWrongIndexProperty
public void failToCreateBoostRuleWithWrongIndexProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateBoostRuleWithWrongBoostOperator
public void failToCreateBoostRuleWithWrongBoostOperator() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateBoostRuleWithNumericValueForStringIndexProperty
public void failToCreateBoostRuleWithNumericValueForStringIndexProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateBoostRuleWithStringValueForNumericIndexProperty
public void failToCreateBoostRuleWithStringValueForNumericIndexProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
createMultipleBoostRules
public void createMultipleBoostRules() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreateMultipleBoostRulesWithSameUid
public void failToCreateMultipleBoostRulesWithSameUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
updateBoostRule
public void updateBoostRule() throws java.lang.Exception- Throws:
java.lang.Exception
-
cloneBoostRule
public void cloneBoostRule() throws java.lang.Exception- Throws:
java.lang.Exception
-
removeBoostRule
public void removeBoostRule() throws java.lang.Exception- Throws:
java.lang.Exception
-
boostRuleIsNotCorrupted
public void boostRuleIsNotCorrupted() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankAfterBoostRule
public void rankAfterBoostRule() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankBeforeBoostRule
public void rankBeforeBoostRule() throws java.lang.Exception- Throws:
java.lang.Exception
-
-