Class DefaultPagedFlexibleSearchServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
-
- de.hybris.platform.commerceservices.search.flexiblesearch.impl.DefaultPagedFlexibleSearchServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultPagedFlexibleSearchServiceIntegrationTest extends BaseCommerceBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
flexibleSearchService
-
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 DefaultPagedFlexibleSearchServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SortQueryData
createSortQueryData(java.lang.String sortCode, java.lang.String query)
void
setUp()
void
shouldNotSearchIfSortQueriesIsEmpty()
void
shouldNotSearchIfSortQueriesIsNull()
void
shouldNotSearchQueryIfCurrentPageIsNegative()
void
shouldNotSearchQueryIfPageableIsNull()
void
shouldNotSearchSortQueriesIfPageableIsNull()
void
shouldNotSearchSortQueriesIfSortCodeIsNull()
void
shouldNotSearchWithQueryParamsIfPageableCurrentPageIsNegative()
void
shouldNotSearchWithQueryParamsIfQueryIsNull()
void
shouldSearchQueryPageable()
void
shouldSearchSortQueriesIfPageableCurrentPageIsNegative()
void
shouldSearchSortQueriesPageable()
void
shouldSearchWithQueryParams()
void
shouldSearchWithQueryParamsIfPageableIsNull()
-
Methods inherited from class de.hybris.platform.basecommerce.util.BaseCommerceBaseTest
getFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEnd
-
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
-
shouldSearchQueryPageable
public void shouldSearchQueryPageable() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchQueryIfPageableIsNull
public void shouldNotSearchQueryIfPageableIsNull() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchQueryIfCurrentPageIsNegative
public void shouldNotSearchQueryIfCurrentPageIsNegative() throws ImpExException
- Throws:
ImpExException
-
shouldSearchWithQueryParams
public void shouldSearchWithQueryParams() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchWithQueryParamsIfQueryIsNull
public void shouldNotSearchWithQueryParamsIfQueryIsNull() throws ImpExException
- Throws:
ImpExException
-
shouldSearchWithQueryParamsIfPageableIsNull
public void shouldSearchWithQueryParamsIfPageableIsNull() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchWithQueryParamsIfPageableCurrentPageIsNegative
public void shouldNotSearchWithQueryParamsIfPageableCurrentPageIsNegative() throws ImpExException
- Throws:
ImpExException
-
shouldSearchSortQueriesPageable
public void shouldSearchSortQueriesPageable() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchIfSortQueriesIsNull
public void shouldNotSearchIfSortQueriesIsNull() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchSortQueriesIfSortCodeIsNull
public void shouldNotSearchSortQueriesIfSortCodeIsNull() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchIfSortQueriesIsEmpty
public void shouldNotSearchIfSortQueriesIsEmpty() throws ImpExException
- Throws:
ImpExException
-
shouldNotSearchSortQueriesIfPageableIsNull
public void shouldNotSearchSortQueriesIfPageableIsNull() throws ImpExException
- Throws:
ImpExException
-
shouldSearchSortQueriesIfPageableCurrentPageIsNegative
public void shouldSearchSortQueriesIfPageableCurrentPageIsNegative() throws ImpExException
- Throws:
ImpExException
-
createSortQueryData
protected SortQueryData createSortQueryData(java.lang.String sortCode, java.lang.String query)
-
-