Class AsExcludedItemModelTest
- 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.AsExcludedItemModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsExcludedItemModelTest 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 AsExcludedItemModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cloneExcludedItem()
void
createExcludedItem()
void
createExcludedItemWithoutUid()
void
createMultipleExcludedItems()
void
excludedItemIsCorrupted()
void
excludedItemIsNotCorrupted()
void
failToCreateExcludedItemWithoutItem()
void
failToCreateExcludedItemWithoutSearchConfiguration()
void
failToCreateExcludedItemWithWrongCatalogVersion()
void
failToUpdateExcludedItemItem()
void
getNonExistingExcludedItem()
void
rankAfterExcludedItem()
void
rankBeforeExcludedItem()
void
removeExcludedItem()
void
setUp()
-
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
-
getNonExistingExcludedItem
public void getNonExistingExcludedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createExcludedItemWithoutUid
public void createExcludedItemWithoutUid() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createExcludedItem
public void createExcludedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateExcludedItemWithWrongCatalogVersion
public void failToCreateExcludedItemWithWrongCatalogVersion() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateExcludedItemWithoutSearchConfiguration
public void failToCreateExcludedItemWithoutSearchConfiguration() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreateExcludedItemWithoutItem
public void failToCreateExcludedItemWithoutItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createMultipleExcludedItems
public void createMultipleExcludedItems() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToUpdateExcludedItemItem
public void failToUpdateExcludedItemItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
cloneExcludedItem
public void cloneExcludedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeExcludedItem
public void removeExcludedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
excludedItemIsNotCorrupted
public void excludedItemIsNotCorrupted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
excludedItemIsCorrupted
public void excludedItemIsCorrupted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
rankAfterExcludedItem
public void rankAfterExcludedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
rankBeforeExcludedItem
public void rankBeforeExcludedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-