Class SolrIndexerDirectModeTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
-
- de.hybris.platform.solrfacetsearch.integration.SolrIndexerDirectModeTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SolrIndexerDirectModeTest extends AbstractIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
expectedException
-
Fields inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
DEFAULT_ENCODING, FACET_SEARCH_CONFIG_NAME, HW_CATALOG, ONLINE_CATALOG_VERSION, PRODUCT_CODE, SOLR_SERVER_CLOUD_ENDPOINT, SOLR_SERVER_MODE, SOLR_SERVER_STANDALONE_ENDPOINT, STAGED_CATALOG_VERSION
-
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 SolrIndexerDirectModeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activeIndexDoesNotChangeAfterFullIndexThreeTimes()
void
activeIndexDoesNotChangeAfterFullIndexTwice()
void
activeIndexFoundAfterFullIndex()
void
fullIndex()
void
fullIndexAndUpdate()
void
fullIndexTwice()
void
fullIndexTwiceAndUpdate()
protected void
loadData()
void
noActiveIndexBeforeFullIndex()
-
Methods inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
beforeLoadData, getFacetSearchConfig, getFacetSearchConfigName, getIndexedTypeModel, getProductCode, getSolrFacetSearchConfigModel, getTestId, importConfig, importConfig, initializeIndexedType, readFile, setUp, tearDown
-
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
-
loadData
protected void loadData() throws java.lang.Exception
- Overrides:
loadData
in classAbstractIntegrationTest
- Throws:
java.lang.Exception
-
fullIndex
public void fullIndex() throws java.lang.Exception
- Throws:
java.lang.Exception
-
fullIndexAndUpdate
public void fullIndexAndUpdate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
fullIndexTwice
public void fullIndexTwice() throws java.lang.Exception
- Throws:
java.lang.Exception
-
fullIndexTwiceAndUpdate
public void fullIndexTwiceAndUpdate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
noActiveIndexBeforeFullIndex
public void noActiveIndexBeforeFullIndex() throws java.lang.Exception
- Throws:
java.lang.Exception
-
activeIndexFoundAfterFullIndex
public void activeIndexFoundAfterFullIndex() throws java.lang.Exception
- Throws:
java.lang.Exception
-
activeIndexDoesNotChangeAfterFullIndexTwice
public void activeIndexDoesNotChangeAfterFullIndexTwice() throws java.lang.Exception
- Throws:
java.lang.Exception
-
activeIndexDoesNotChangeAfterFullIndexThreeTimes
public void activeIndexDoesNotChangeAfterFullIndexThreeTimes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-