@IntegrationTest public class DefaultPaginatedFlexibleSearchServiceIntegrationTest extends ServicelayerBaseTest
DefaultPaginatedFlexibleSearchService.defaultLanguage, jaloSession| Constructor and Description |
|---|
DefaultPaginatedFlexibleSearchServiceIntegrationTest() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultPaginatedFlexibleSearchServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldSearchAndSortByUidAscendingWithVariousPagination()
public void shouldSearchAndSortByUidDescendingOrder()
public void shouldSearchAndSortByUidDescendingOrderWithUpperCaseUid()
public void shouldSearchAndSortByNameAscendingOrder()
public void shouldSearchAndSortByNameAscendingOrderWithUpperCaseName()
public void shouldSearchAndSortByNameDescendingOrder()
public void shouldSearchAndSortByNameAndUidAscendingOrder()
public void shouldSearchAndSortByNameAscendingAndUidDescendingOrder()
public void shouldSearchAndSortByNameAsendingOrderNotByDate()
public void shouldSearchAndFilterAllInvalidSorts()
public void shouldSearchWithoutSorts()
public void shouldNotSearchIfParameterSearchPageDataIsNull()
public void shouldNotSearchIfParameterFlexibleSearchQueryIsNull()
public void shouldNotSearchIfParameterPaginationDataIsNull()
public void shouldNotSearchIfParameterPaginationDataCurrentPageIsNegative()
protected void assertPaginationResults(int expectedPaginatedResultSize,
int expectedTotalResultSize,
int expectedSortSize,
SearchPageData<UserGroupModel> searchResult)
expectedPaginatedResultSize - the expected result countexpectedTotalResultSize - the expected total results of the search resultsexpectedSortSize - the expected sort list sizesearchResult - the searchResultCopyright © 2018 SAP SE. All Rights Reserved.