@IntegrationTest public class FlexibleSearchServiceTest extends ServicelayerTransactionalTest
importServicejaloSession| Constructor and Description |
|---|
FlexibleSearchServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
randomizeStatuses(ArticleApprovalStatus... statuses)
randomize the approval statuses for products
|
void |
setUp() |
void |
shouldAddJdbcHintToTheQuery() |
void |
shouldFindLanguageByItsLocalizedNames() |
void |
shouldFireQueryWithHanaHints() |
void |
shouldRespectSearchRestrictionsInTranslateMethod() |
void |
shouldThrowFlexibleSearchExceptionFromSlayerPackageWhenTranslationWillThrowJaloException() |
void |
testComplexSearch() |
void |
testComplexSearch2() |
void |
testFailOnUnknownFields() |
void |
testFindByApprovalStatus() |
void |
testMultiColumnSearch() |
void |
testPLA8496()
This method tests the usage of jalo classes vs.
|
void |
testPLA8827_hybris_enum()
If explicitly declared expected class as implementation of
HybrisEnumValue instances
of this type should be returned. |
void |
testPLA8827_items()
Generally if no result class provided search result should contain elements extending ItemModel In result for this
test might not only Items but also enumeration values be returned, anyway it should not throw an exception and return
all object as
ItemModel,EnumerationValueModel instances. |
void |
testPLA8827_multiple()
This method tests the search for enumeration values but with different result classes for a multiple column list.
|
void |
testPLA8827_single()
This method tests the search for enumeration values but with different result classes for a single column list.
|
void |
testPLA9192_ResultIsNullSearch() |
void |
testSearchRangeCombos()
This test checks the differtent params for the searchranges for the servicelayer search against the jalo search.
|
void |
testSearchResultInfos() |
void |
testSearchTypeInstancesWithoutParams() |
void |
testSearchUnique() |
void |
testSearchUniqueFailsAmbiguousIdentifier() |
void |
testSearchUniqueFailsModelNotFound() |
void |
testSearchWithSingleParams() |
void |
testSearchWithSingleParamsForLanguage() |
void |
testTranslate() |
void |
testTranslateWithCustomSession()
PLA-10781 test checks if the during flexibleSearchService.translate all needed attributes has been set up to local
context
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testSearchTypeInstancesWithoutParams()
public void testSearchWithSingleParamsForLanguage()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic void testSearchWithSingleParams()
public void testComplexSearch()
public void testComplexSearch2()
public void testFailOnUnknownFields()
public void testSearchResultInfos()
public void testSearchRangeCombos()
public void testMultiColumnSearch()
public void testPLA8496()
public void testPLA8827_single()
public void testPLA8827_items()
ItemModel,EnumerationValueModel instances.public void testPLA8827_hybris_enum()
HybrisEnumValue instances
of this type should be returned.public void testPLA8827_multiple()
protected void randomizeStatuses(ArticleApprovalStatus... statuses)
public void testPLA9192_ResultIsNullSearch()
public void testTranslate()
public void shouldThrowFlexibleSearchExceptionFromSlayerPackageWhenTranslationWillThrowJaloException()
public void testTranslateWithCustomSession()
public void testSearchUnique()
public void testSearchUniqueFailsModelNotFound()
public void testSearchUniqueFailsAmbiguousIdentifier()
public void testFindByApprovalStatus()
public void shouldFindLanguageByItsLocalizedNames()
public void shouldRespectSearchRestrictionsInTranslateMethod()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldAddJdbcHintToTheQuery()
public void shouldFireQueryWithHanaHints()
Copyright © 2018 SAP SE. All Rights Reserved.