public abstract class AbstractCommerceOrgIntegrationTest extends BaseCommerceBaseTest
setUp() method loads core data, essential data (e.g. search restrictions for commerce organization
related types) as well as commerce organization related sample data. Finally it sets a B2B admin as the current
session user.flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
AbstractCommerceOrgIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertSearchPageData(int expectedNumberOfResults,
SearchPageData<?> searchPageData)
Asserts that
the given
SearchPageData is not null,
that the list of results it holds is not null and
that the list of results has the expected size.
|
protected abstract java.lang.String |
getTestDataPath() |
protected UserService |
getUserService() |
protected void |
setCurrentUser(java.lang.String userId) |
void |
setUp() |
getFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEndcreateCoreData, 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.Exceptionprotected void setCurrentUser(java.lang.String userId)
protected void assertSearchPageData(int expectedNumberOfResults,
SearchPageData<?> searchPageData)
SearchPageData is not null,expectedNumberOfResults - the expected number of search resultssearchPageData - the SearchPageData object to execute assertions onprotected UserService getUserService()
protected abstract java.lang.String getTestDataPath()
Copyright © 2018 SAP SE. All Rights Reserved.