Class RunnablePopulateRecommendationBufferIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- com.hybris.ymkt.recommendation.services.RunnablePopulateRecommendationBufferIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class RunnablePopulateRecommendationBufferIntegrationTest extends ServicelayerTransactionalTest
Test the runnable by checking the number of recommendations returned and saved
-
-
Field Summary
-
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 RunnablePopulateRecommendationBufferIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testFillBuffer_NoLeadingItem()
void
testFillBuffer_NoLeadingItem_NoUser()
void
testFillBuffer_OneLeadingItem()
void
testFillBuffer_TwoLeadingItems()
-
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 java.lang.Exception
- Throws:
java.lang.Exception
-
tearDown
public void tearDown()
-
testFillBuffer_NoLeadingItem
public void testFillBuffer_NoLeadingItem() throws java.io.IOException
- Throws:
java.io.IOException
-
testFillBuffer_NoLeadingItem_NoUser
public void testFillBuffer_NoLeadingItem_NoUser() throws java.io.IOException
- Throws:
java.io.IOException
-
testFillBuffer_OneLeadingItem
public void testFillBuffer_OneLeadingItem() throws java.io.IOException
- Throws:
java.io.IOException
-
testFillBuffer_TwoLeadingItems
public void testFillBuffer_TwoLeadingItems() throws java.io.IOException
- Throws:
java.io.IOException
-
-