Class AsPromotedItemModelTest
- 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.AsPromotedItemModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsPromotedItemModelTest 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 AsPromotedItemModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clonePromotedItem()
void
createMultiplePromotedItems()
void
createPromotedItem()
void
createPromotedItemWithoutUid()
void
failToCreatePromotedItemWithoutItem()
void
failToCreatePromotedItemWithoutSearchConfiguration()
void
failToCreatePromotedItemWithWrongCatalogVersion()
void
failToUpdatePromotedItemItem()
void
getNonExistingPromotedItem()
void
promotedItemIsCorrupted()
void
promotedItemIsNotCorrupted()
void
rankAfterPromotedItem()
void
rankBeforePromotedItem()
void
removePromotedItem()
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
-
getNonExistingPromotedItem
public void getNonExistingPromotedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createPromotedItemWithoutUid
public void createPromotedItemWithoutUid() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createPromotedItem
public void createPromotedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreatePromotedItemWithWrongCatalogVersion
public void failToCreatePromotedItemWithWrongCatalogVersion() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreatePromotedItemWithoutSearchConfiguration
public void failToCreatePromotedItemWithoutSearchConfiguration() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToCreatePromotedItemWithoutItem
public void failToCreatePromotedItemWithoutItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createMultiplePromotedItems
public void createMultiplePromotedItems() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failToUpdatePromotedItemItem
public void failToUpdatePromotedItemItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
clonePromotedItem
public void clonePromotedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
removePromotedItem
public void removePromotedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
promotedItemIsNotCorrupted
public void promotedItemIsNotCorrupted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
promotedItemIsCorrupted
public void promotedItemIsCorrupted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
rankAfterPromotedItem
public void rankAfterPromotedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
rankBeforePromotedItem
public void rankBeforePromotedItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-